The Scene Transition Complete Event.
This event is dispatched by the Target Scene of a transition.
It happens when the transition process has completed. This occurs when the duration timer equals or exceeds the duration of the transition.
Listen to it from a Scene using this.events.on('transitioncomplete', listener)
.
The Scene Transition event flow is as follows:
TRANSITION_OUT
- the Scene that started the transition will emit this event.TRANSITION_INIT
- the Target Scene will emit this event if it has an init
method.TRANSITION_START
- the Target Scene will emit this event after its create
method is called, OR ...TRANSITION_WAKE
- the Target Scene will emit this event if it was asleep and has been woken-up to be transitioned to.TRANSITION_COMPLETE
- the Target Scene will emit this event when the transition finishes.name | type | description |
---|---|---|
scene | Phaser.Scene |
The Scene on which the transitioned completed. |