GarageGames / Torque2D

MIT Licensed Open Source version of Torque 2D game engine from GarageGames
MIT License
1.67k stars 1.56k forks source link

CompositeSprite Animation Bug #375

Closed greenfire27 closed 8 years ago

greenfire27 commented 8 years ago

Fixes issues #369. Previously, CompositeSprites would continue to animate even when the scene was paused. This is because the ImageFrameProvider for each sprite would receive the tick event and process it independently of the Scene. I turned this off. Now when the Scene processes a CompositeSprite, each sprite in the composite is given the chance to advance its animation. If the Scene is paused, then there is no animation.