using
paste sprite instead of
sprite (on the sprites you DON'T want backsave active on) will give what i think is your desired effect.
full code re-arranged:
box 0,0,20,20
get image 1,0,0,20,20,1
cls
sprite 1,mousex(),mousey(),1
set sprite diffuse 1,255,0,0
set sprite 1,0,1
sprite 2,x,y,1
set sprite diffuse 2,0,255,0
set sprite 2,1,1
do
paste sprite 1,mousex(),mousey()
sprite 2,x,y,1
if upkey()=1 then dec y
if downkey()=1 then inc y
if rightkey()=1 then inc x
if leftkey()=1 then dec x
loop
you would still expect your original code to work, but atleast there's a work-around.
Virtual Nomad
AMD XP 1800+ (~1.6 Ghz) / 1.5 GB RAM
ATI Radeon 8700LE 128 MB / Windows XP