Rope#crop()

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting a crop rectangle modifies the core texture frame. The Game Object width and height properties will be adjusted accordingly. Cropping takes place from the top-left and can be modified in real-time either by providing an updated rectangle object to this method,or by modifying cropRect property directly and then calling updateCrop. The rectangle object given to this method can be either a Phaser.R

Mouse#onMouseUp()

onMouseUp(event) The internal method that handles the mouse up event from the browser. Parameters Name Type Description event MouseEvent The native event from the browser. This gets stored in Mouse.event. Source code: input/Mouse.js (Line 356)

Physics.Arcade.Body#center

[readonly] center : Phaser.Point The center coordinate of the Physics Body. Source code: physics/arcade/Body.js (Line 139)

Particle#play()

play(name, frameRate, loop, killOnComplete) → {Phaser.Animation} Plays an Animation. The animation should have previously been created via animations.add. If the animation is already playing calling this again won't do anything.If you need to reset an already running animation do so directly on the Animation object itself or via AnimationManager.stop. Parameters Name Type Argument Default Description name string The name of the animation to be played, e.g. "fire", "walk", "jump". Must

Particle#key

key : string | Phaser.RenderTexture | Phaser.BitmapData | Phaser.Video | PIXI.Texture The key of the image or texture used by this Game Object during rendering.If it is a string it's the string used to retrieve the texture from the Phaser Image Cache.It can also be an instance of a RenderTexture, BitmapData, Video or PIXI.Texture.If a Game Object is created without a key it is automatically assigned the key __default which is a 32x32 transparent PNG stored within the Cache.If a Game Object is

Signal#active

active : boolean Is the Signal active? Only active signals will broadcast dispatched events. Setting this property during a dispatch will only affect the next dispatch. To stop the propagation of a signal from a listener use halt. Default Value true Source code: core/Signal.js (Line 100)

DisplayObjectContainer#setChildIndex()

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters Name Type Description child DisplayObject The child DisplayObject instance for which you want to change the index number index Number The resulting index number for the child display object Source code: pixi/display/DisplayObjectContainer.js (Line 132)

Rope#play()

play(name, frameRate, loop, killOnComplete) → {Phaser.Animation} Plays an Animation. The animation should have previously been created via animations.add. If the animation is already playing calling this again won't do anything.If you need to reset an already running animation do so directly on the Animation object itself or via AnimationManager.stop. Parameters Name Type Argument Default Description name string The name of the animation to be played, e.g. "fire", "walk", "jump". Must

Creature#moveDown()

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list.This call has no effect if the Game Object is already at the bottom of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object down within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveDown Source

Text#fixedToCamera

fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the camera during rendering. The values are adjusted at the rendering stage, overriding the Game Objects actual world position. The end result is that the Game Object will appear to be 'fixed' to the camera, regardless of where in the game worldthe camera is viewing. This is useful if for example this Game Object is a UI item that you wish to be visible at all timesrega