GameObjectFactory#tween()

tween(object) → {Phaser.Tween}

Create a tween on a specific object.

The object can be any JavaScript object or Phaser object such as Sprite.

Parameters
Name Type Description
object object

Object the tween will be run on.

Returns

The newly created Phaser.Tween object.

Source code: gameobjects/GameObjectFactory.js (Line 158)
doc_phaser
2017-02-14 10:48:49
Comments
Leave a Comment

Please login to continue.