Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
736 stars 74 forks source link

Fixed sprite animation loop bug #103

Closed GamerGambit closed 4 years ago

GamerGambit commented 4 years ago

I've called this a bugfix, but its kind of niche. The animation frame is reset after calling onAnimationEnd, which in the case of starting a new animation in onAnimationEnd, gives you a nice frame flicker.

andrewmcwatters commented 4 years ago

This is a really great find!