When I walk diagonally, the animation only plays the first frame. How do I fix this?
You may need to put a clause in with your Up Down Left Right that states When Up Arrow is down, and Left Arrow is not down, and Right Arrow is not Down. As I fear it may be conflicting with the Up and Right and just plain Up.
Develop games in your browser. Powerful, performant & highly capable.
How do I state "Arrow Key is not down" in an else clause? Is it "Trigger once when true"?
Just put the Arrow key is down, right click and choose invert
I didn't know about invert, thank you. It worked!
Don't you think using the angle property may be more accurate ?
if sprite.angle == 90 then play "walk_right" animation ?
Don't you think using the angle property may be more accurate ? if sprite.angle == 90 then play "walk_right" animation ?
Maybe. The way I have the walking set up seems fairly accurate right now.