Refactor PIXI.extras.Ticker
This refactor changes ticker to only request frames when necessary. Whether the ticker has been started and has listeners are the conditions that need to be met in order to request a frame.

The API has also changed and the ticker composes itself around an emitter instead of extended the class. This not only minimizes and simplifies the API, it also allows for the previous functionality without being overly complex.
1 parent cf0c432 commit 1fa0dcbd9dfcf4b77c58f6226814f7ff68815afe
@Dr. Kibtiz Dr. Kibtiz authored on 18 Apr 2015
Showing 2 changed files
View
src/extras/MovieClip.js
View
src/extras/Ticker.js