Hi I've tried to post this msg before but with no luck could anybody advise me about my sprites? the animation of my first sprite ha a small problem it disappears when the leftkey has been stroke three times. If I exclude the second sprite then it works properly I a bit new here could you please help me out???
Thanx I am starting to freak out here
hide mouse
sync on
LOAD BITMAP "maplevel2.bmp",1
for x=0 to 3
GET IMAGE 1+x,(x*260),0,(x*260)+260,780
next x
sprite 1,Txpos,Typos,Timage
Txpos=200
Typos=-400
Timage=1
LOAD BITMAP "player.bmp",2
GET IMAGE 2,2,0,45,42
Nxpos=300
Nypos=320
sprite 2,Nxpos,Nypos,2
rem Begin Loop
DO
if rightkey()=1
Timage=Timage + 1: if Timage>4 then Timage = 1
endif
if leftkey()=1
Timage=Timage-1: if Timage<1 then Timage = 4
endif
sprite 1,Txpos,Typos,Timage
SYNC :sleep 80
LOOP
end
X CORE T