lewisje / renderengine

Automatically exported from code.google.com/p/renderengine
MIT License
0 stars 0 forks source link

Add animation callbacks to sprites #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add some callbacks to the sprites so that developers can respond to a 
particular change in animation.  Ideas:

onSpriteLoopRestart() - For looped animations
onSpriteToggle() - For toggle animations
onSpriteFinish() - For "once" animations

This way actions can be further scripted based on the animation system rather 
than having to guess or time animation speeds.

Original issue reported on code.google.com by bfatt...@gmail.com on 4 Jan 2011 at 6:50

GoogleCodeExporter commented 8 years ago
It would also be nice to have support for in/out accel/decel.

Original comment by bfatt...@gmail.com on 4 Jan 2011 at 9:33

GoogleCodeExporter commented 8 years ago

Original comment by bfatt...@gmail.com on 10 Feb 2011 at 8:14

GoogleCodeExporter commented 8 years ago
Added event triggering to all game objects.

Original comment by bfatt...@gmail.com on 2 Jun 2011 at 1:49