So i'm making a Game where its like your own world, you can even have a swim! But, I need help Walking animation, i have the animations done and Sprite moving, but when i drag the script (down there) Into my Other script that makes him move.
<if><key[ Right Arrow ]pressed?>
<forever>
<switch to costume[ (lets say 1)
<wait( 0.3 )secsc>
<switch to costume[ 2
<wait( 0.3 )secsc>
<switch to costume[ 3
<wait( 0.3 )secsc>
<end>
--Matty3414--
Please help!
Offline
The "if" block just checks one time. So, try placing the "if" inside the forever.
(Or you can try the block "when ___ key pressed" block (instead of forever with if).)
I like the idea of taking a swim as part of the game.
Natalie
Offline
natalie wrote:
The "if" block just checks one time. So, try placing the "if" inside the forever.
(Or you can try the block "when ___ key pressed" block (instead of forever with if).)
I like the idea of taking a swim as part of the game.
Natalie
Still dosn't work, here my full script up to where i'm stuck which is were the animation wont make 'HERO' Move.
<when green flag clicked>
<forever>
<if><< <not> <touching[Land >>
<change y by( 4
<end>
<if><< <key[ Right Arrow ]pressed?> <and> << <not> <key[ Left Arrow ]pressed?> >> >>
<change y by( 4
<end>
<if><( Hit_test Of Slope Dec <=> 1 )>
<change y by( 5.3
<end>
Thanks for your help so far
--Matty3414--
Offline