name | type | arguments | Default | description |
---|---|---|---|---|
key | string | <optional> |
The key of the Texture this Game Object will use to render with, as stored in the Texture Manager. If not given, |
|
frame | string | integer | null | <optional> |
An optional frame from the Texture this Game Object is rendering with. |
|
points | integer | Array.<Phaser.Types.Math.Vector2Like> | <optional> | 2 |
An array containing the vertices data for this Rope, or a number that indicates how many segments to split the texture frame into. If none is provided a simple quad is created. See |
horizontal | boolean | <optional> | true |
Should the vertices of this Rope be aligned horizontally ( |
colors | Array.<number> | <optional> |
An optional array containing the color data for this Rope. You should provide one color value per pair of vertices. |
|
alphas | Array.<number> | <optional> |
An optional array containing the alpha data for this Rope. You should provide one alpha value per pair of vertices. |