test code
set sprite priority 1,100
REM *** Set screen resolution ***
SET DISPLAY MODE 640,480,32
SET TEXT OPAQUE
ink rgb(255,255,255),rgb(255,0,0),
cls rgb(255,0,0)
print "background1.bmp"
get image 2, 0,0,400,400
save IMAGE "background1.bmp",2
ink rgb(255,255,255),rgb(0,255,0)
cls rgb(0,255,0)
print "arrowtrans.bmp"
get image 1, 0,0,50,50
save IMAGE "arrowtrans.bmp",1
ink rgb(255,255,255),rgb(0,0,255)
cls rgb(0,0,255)
print "tree.bmp"
get image 3, 0,0,100,100
save IMAGE "tree.bmp",3
cls
REM *** Load large image as background ***
LOAD IMAGE "background1.bmp",2
SPRITE 1001,0,0,2
set sprite priority 1001,1
REM *** Create first sprite ***
LOAD IMAGE "tree.bmp",3
SPRITE 501,100,250,3
set sprite priority 501,10
LOAD IMAGE "arrowtrans.bmp",1
SPRITE 1,600,500,1
set sprite priority 1,100
REM *** Move arrow past tree ***
FOR x = 600 TO 50 STEP -10
SPRITE 1,x,300,1
WAIT 200
NEXT x
REM *** End program ***
WAIT KEY
END
windowsXp