Author Topic: Animation looping bug [YoYoYo engine]  (Read 502 times)

MirrorDrill

  • Wannabe
  • Posts: 2
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 59.0 Firefox 59.0
    • View Profile
  • Playstyle: Keyboard
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
  • at the start stays on the first frame for 3 loops
  • loops back to the 1st frame after only the fifth
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)