![phaser 3.0 estim register phaser 3.0 estim register](http://www.admiralquality.com/wp-content/uploads/2018/11/Stunning_Phaser_052_180x255.png)
Any unset properties will be resolved to their defaults or settings from a previously set configuration.
Phaser 3.0 estim register update#
Update the configuration for this transition. This list is used to cache and reset those props when resetProps() is called. The user-defined config object, which is merged with the defaults (if provided)Ī function which returns the tween config for the enter tweenĪ function which returns the tween config for the exit tweenĪn array listing the props which are affected by this transition. The default config options for this transition None of the BaseTransition methods generally need to be overridden. This class cannot be used directly as a transition, but it's methods (namely enter() and exit()) are called to initiate transitions. The BaseTransition class implements the tweens defined in it's child classes. Transitions.exit(targets, config) ⇒ Promise Must contain a transition-type key, but can also contain other config settings for the given transition type. Returns: Promise - Returns a promise which resolves when the transition is complete Param Transitions.enter(targets, config) ⇒ PromiseĬreates and starts a new enter transition See the class descriptions for more info about each transition. These cannot be changed once the transition is created.Ī key to one of the default transitions, which currently includes any of the following: "Fade", "Slide", "Grow", "Explode", or "FadeSlide". Returns: BaseTransition - A transition class extending BaseTransition Param Transitions.create(targets, config) ⇒ BaseTransitionĬreates a new transition based on the given config The key by which the transition can be referencedĪ class which extends the BaseTransition class A transition class must extend BaseTransition and be registered if it is not already one of the default classes. Transitions.register(key, transitionClass)Īdds a transition class to the plugin's dictionary.