It's better I put the code.
REM Teste de andar 24x32
LOAD BITMAP "runner.bmp",1
for y = 0 to 1
for x = 0 to 6
GET IMAGE 1+X+(y*4),(x*89),(y*120),(x*89)+89,(y*120)+120
next x
next y
image=1
DELETE BITMAP 1
LOAD BITMAP "vegetassj2.bmp",2
FOR y=0 to 2
For x=0 to 2
GET IMAGE 1+x+(y*4),(x*24),(y*32),(x*24)+24,(y*32)+32
next x
next y
j=1
DELETE BITMAP 2
SYNC RATE 30
SYNC ON
DO
IF UPKEY()=1 THEN Y = y - 10
IF DOWNKEY()=1 THEN y = y + 10
IF LEFTKEY()=1 THEN x = x - 10
IF RIGHTKEY()=1 THEN x = x + 10
Image = Image + 1
j = j + 2
If image > 5 then image = 2
If j > 5 then j = 2
Sprite 10,50,59,image
SPRITE 20,x,y,j
SYNC
LOOP
And the pictures are these
The other It gave a problem, but the other is the bitmap which contains in DarkBasic help. It's the 8 tutorial. I think you will go to find it.
I think that now it's better.
MM is good