@rich, crap, ur right. scroll is gone...
@op, i played with
set sprite texture coord and it wasn't what i expected (but was fun). ie, i don't see how it could scroll the sprite's image (maybe someone else can?).
meanwhile:
set display mode 640,480,32,1
ink rgb(255,0,0),0
` this part draws a background
for x = 0 to 630 step 10
box x,480-30*rnd(10),x+10,480
next x
get image 1,0,0,640,480,1
ink rgb(255,255,255),rgb(0,0,0)
do
offset = offset + (leftkey()-rightkey())
if offset = 0
paste image 1, 0,0
else
if offset > 639 then offset = 0
if offset < 0 then offset = 639
paste image 1, offset-640, 0
paste image 1, offset,0
endif
text 0,0,str$(offset)
loop
Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit