Closed Geokureli closed 1 month ago
For context with regards to the double release bug, I encountered that when I wanted to make a slower flicker, followed by a faster flicker, then stop flickering.
However, calling FlxFlicker in the onComplete
callback would destroy any existing flickers on the object, then recycle that destroyed flicker, but the recycled flicker was the one currently calling onComplete
so it would immediately call release
on the flicker that was supposed to be active.
Note: I added FlxTween.flicker
, in https://github.com/HaxeFlixel/flixel/pull/3086, which offsers pausing and resuming but I may still add them to FlxFlicker
Add
pause
andresume
toFlxFlicker
, I saw it in the Funkin branch