Propagate Ticker's elapsed time and paused state into the display list.
This is essentially bringing the display list's _tick and custom tick functions in line with the Ticker listener interface. I've left the advance parameter as is.
All the examples work as normal with this change.
We'd really find it useful to have this info available in our tick functions.
propagate elapsedTime and paused to the display list from Ticker.
call custom tick in BitmapAnimation.
This enables us to set a custom tick function on BitmapAnimation.
pass elapsedTime to advance
Definitely putting some thought into this. I don't want to tie the framework too tightly to Ticker, in case people want to use their own heartbeat mechanisms, but there is definitely a lot of value in having this data available.
I have implemented this in a fairly abstract way. Now anything you pass in as params to stage.update() will be passed forward to onTick(). Let me know if it addresses what you need.