Please look at this piece of code:
load image "images\cat.jpg",1
sprite 1,0,0,1
hide sprite 1
size sprite 1,75,75
do
paste sprite 1,mousex(),mousey()
loop
end
If I remove the hide sprite instruction above, the program leaves a copy of the image on the upper left corner (I'm using a Windowed display 800x600). Notice the x,y coordinates on the sprite command: Is 0,0 off the visible screen?
I thought the default behavior of sprites was not to leave a trail.
I guess my real question is: Is there a better way of doing what I intend to do without having to use a hide sprite instruction?
Please be gentle, I'm a noob to DBPro
CSL