PrivatedoHelper function for doArcDownward, handles a single particle
Starting offset for particle
The background image
The phaser container
The x offset
The y offset
Animates particles that arc downwards after the upwards spiral for evolution/form change animations.
The background image to animate
The Phaser.GameObjects.Container | Container which will own the particles
The x offset
The y offset
Animates particles in a circle pattern
The background image
The phaser container
The x offset
The y offset
PrivatedoHelper function for doCircleInward, handles a single particle
Starting offset for particle
How much the amplitude slows down by each cycle
The background image
The phaser container
The x offset
The y offset
Animates the transformation between the old pokemon form and new pokemon form
Variable to track how many cycles have been run and also how long the delay is
Number representing how many times to recursively cycle the animation
The tinted sprite of the Pokemon
The tinted sprite of the Pokemon's new form
Optionalcancelled: BooleanHolder<boolean>If its value is set to true by external code during the animation, then cancel the animation.
PrivatedoPrivatedoPrivatedoAnimates particles that "spiral" upwards at start of transform animation
The background image to animate.
The phaser container
The x offset
The y offset
PrivatedoHelper function for doSpiralUpward, handles a single particle
Starting offset for particle
The background image
The phaser container
The x offset
The y offset
PrivatedoPrivatedo
Class for handling general animations such as particle effects. For battle animations, see
BattleAnim.