Rope#segments
  • References/Game Development/Phaser/Display/Rope

segments The segments that make up the rope body as an array of Phaser.Rectangles Properties:

2025-01-10 15:47:30
Rope#width
  • References/Game Development/Phaser/Display/Rope

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set

2025-01-10 15:47:30
Rope#previousPosition
  • References/Game Development/Phaser/Display/Rope

[readonly] previousPosition : Phaser.Point

2025-01-10 15:47:30
Rope#alive
  • References/Game Development/Phaser/Display/Rope

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components

2025-01-10 15:47:30
Rope#scaleMax
  • References/Game Development/Phaser/Display/Rope

scaleMax : Phaser.Point The maximum scale this Game

2025-01-10 15:47:30
Rope#moveUp()
  • References/Game Development/Phaser/Display/Rope

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list

2025-01-10 15:47:30
Rope#crop()
  • References/Game Development/Phaser/Display/Rope

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

2025-01-10 15:47:30
Rope#world
  • References/Game Development/Phaser/Display/Rope

world : Phaser.Point The world coordinates of this

2025-01-10 15:47:30
Rope#type
  • References/Game Development/Phaser/Display/Rope

[readonly] type : number The const type of this object.

2025-01-10 15:47:30
Rope#addChildAt()
  • References/Game Development/Phaser/Display/Rope

addChildAt(child, index) → {DisplayObject}

2025-01-10 15:47:30