I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: MirrorDrill on May 02, 2018, 04:28:04 AM

Title: Animation looping bug [YoYoYo engine]
Post by: MirrorDrill 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
Does anyone have any idea of what could be causing this?
I set global.playerAnimationFix to true.
Here are the relevant snippets

scrJump:
(click to show/hide)
End step:
(click to show/hide)
Console output below.
(click to show/hide)