bunfan / beat-banger

19 stars 2 forks source link

Transitions flash the wrong image for 1 frame #73

Open Urumasi opened 3 years ago

Urumasi commented 3 years ago

Describe the bug When a transition happens, the last image of the new transition's animation is displayed for 1 frame instead of it displaying the first image

To Reproduce Steps to reproduce the behavior:

  1. Run any map with transitions
  2. Pay close attention when the transition happens, or play a map that heavily uses transitions (like bad apple)
  3. Animation flashes wrong image for a single frame every transition, which makes it look jittery

Expected behavior On a transition, the first frame shown should be of the first image in the sequence

Screenshots 60fps video of this in action

https://user-images.githubusercontent.com/8294011/127072747-9f051dd8-dee4-4a83-b5c1-081949445f09.mp4

Additional info This bug was not present in the 1.2 version of this game