Set Display Mode 800,600,32
Set Window title "rpg"
Set Window on
Sync on
Sync rate 60
load image "paladin_walk.png",1
Create Animated Sprite 1, "paladin_walk.png", 8,8,1
Set Sprite Frame 1, 8
do
cls
if upKEY()=1
play sprite 1,1,8,100
endif
if downKey()=1
play sprite 1,33,40,100
endif
sprite 1, 250,250,1
sync
loop
K so i was trying to do a simple animation and the problem is when i press up it goes good and the animated plays. But when i press down it doesnt skip to the first frame, it plays every single frame until it hits the down animation then keeps going.
So im pressing down and my character first walks right then se then down. So how do i sorta set it
Jacob Gardam