Animation#onUpdate

onUpdate : Phaser.Signal | null

This event is dispatched when the Animation changes frame.
By default this event is disabled due to its intensive nature. Enable it with: Animation.enableUpdate = true.
Note that the event is only dispatched with the current frame. In a low-FPS environment Animations
will automatically frame-skip to try and claw back time, so do not base your code on expecting to
receive a perfectly sequential set of frames from this event.

Type
Source code: animation/Animation.js (Line 141)
doc_phaser
2017-02-14 10:35:55
Comments
Leave a Comment

Please login to continue.