1
Programming Questions / Animation looping bug [YoYoYo engine]
« on: May 02, 2018, 04:28:04 AM »
So I've coded a few custom player animations into YoYoYo's GMS engine, but I encountered a weird bug.
What I want to make is a double jump animation, that plays once on the second jump press in the air.
However, for some reason the animation which has 9 frames
I set global.playerAnimationFix to true.
Here are the relevant snippets
scrJump:
End step:
Console output below.
What I want to make is a double jump animation, that plays once on the second jump press in the air.
However, for some reason the animation which has 9 frames
- at the start stays on the first frame for 3 loops
- loops back to the 1st frame after only the fifth
I set global.playerAnimationFix to true.
Here are the relevant snippets
scrJump:
(click to show/hide)
(click to show/hide)
(click to show/hide)