In this code, I use GET IMAGE to grab screen image with sprites sprites but no on the final image
How can I grab the image from the screen with sprites?
backdrop off
if file exist("fnd.png")
load image "fnd.png",1
endif
if image exist(1)=1 then createSkin(1,11.25,360,6,6)
do
loop
function createSkin(inum as integer,rotate as float,angle as float,across as integer,down as integer)
startnum=5
clones=angle/rotate
w=image width(inum)
h=image height(inum)
iw=w*across
ih=h*down
ipx=0
ipy=0
for i=1 to clones
num=startnum+i
sprite num,ipx*w+w/2,ipy*h+h/2,inum
offset sprite num,w/2,h/2
rotate sprite num,iang
set sprite num,1,1
dec iang,rotate
inc ipx,1
if ipx=6 then inc ipy,1:ipx=0
next i
get image 1000,1,1,w*across,h*down,1
save image "fender.png",1000
endfunction
dbpro-lab.ucoz.ru