Rope#scaleMax

scaleMax : Phaser.Point The maximum scale this Game Object will scale up to. It allows you to prevent a parent from scaling this Game Object higher than the given value. Set it to null to remove the limit. Inherited From Phaser.Component.ScaleMinMax#scaleMax Source code: gameobjects/components/ScaleMinMax.js (Line 46)

Rope#Rope

new Rope(texture, points) Parameters Name Type Description texture PIXI.Texture The texture to use on the rope. points Array An array of {PIXI.Point}. Source code: pixi/extras/Rope.js (Line 6)

Rope#Rope

new Rope(game, x, y, key, frame, points) A Rope is a Sprite that has a repeating texture. The texture will automatically wrap on the edges as it moves. Please note that Ropes cannot have an input handler. Parameters Name Type Description game Phaser.Game A reference to the currently running game. x number The x coordinate (in world space) to position the Rope at. y number The y coordinate (in world space) to position the Rope at. key string | Phaser.RenderTexture | Phaser.BitmapData |

Rope#right

right : number The right coordinate of the Game Object.This is the same as x + width - offsetX. Inherited From Phaser.Component.Bounds#right Source code: gameobjects/components/Bounds.js (Line 124)

Rope#revive()

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object back to life, optionally resetting its health value in the process. A resurrected Game Object has its alive, exists and visible properties all set to true. It will dispatch the onRevived event. Listen to events.onRevived for the signal. Parameters Name Type Argument Default Description health number <optional> 100 The health to give the Game Object. Only set if the GameObject has the Health component. Returns PI

Rope#resizeFrame()

resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally need to ever call this, but in the case of special texture types such as Video or BitmapDatait can be useful to adjust the dimensions directly in this way. Parameters Name Type Description parent object The parent texture object that caused the resize, i.e. a Phaser.Video object. width integer The new width of the texture. height integer The new height of the

Rope#resetFrame()

resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering. Inherited From Phaser.Component.LoadTexture#resetFrame Source code: gameobjects/components/LoadTexture.js (Line 232)

Rope#reset()

reset(x, y) → {Phaser.Rope} Resets the Rope. This places the Rope at the given x/y world coordinates and thensets alive, exists, visible and renderable all to true. Also resets the outOfBounds state.If the Rope has a physics body that too is reset. Parameters Name Type Description x number The x coordinate (in world space) to position the Sprite at. y number The y coordinate (in world space) to position the Sprite at. Returns Phaser.Rope - This instance. Source code: gameobjects/

Rope#renderOrderID

[readonly] renderOrderID : number The render order ID is used internally by the renderer and Input Manager and should not be modified.This property is mostly used internally by the renderers, but is exposed for the use of plugins. Inherited From Phaser.Component.Core#renderOrderID Source code: gameobjects/components/Core.js (Line 240)

Rope#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)