Component.Crop#crop()
  • References/Game Development/Phaser/Game Objects/Components/Component.Crop

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

2025-01-10 15:47:30
Component.LifeSpan#revive()
  • References/Game Development/Phaser/Game Objects/Components/Component.LifeSpan

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object

2025-01-10 15:47:30
Component.Reset#reset()
  • References/Game Development/Phaser/Game Objects/Components/Component.Reset

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

2025-01-10 15:47:30
Component.Core#world
  • References/Game Development/Phaser/Game Objects/Components/Component.Core

world : Phaser.Point The world coordinates of this

2025-01-10 15:47:30
Component.Core#renderOrderID
  • References/Game Development/Phaser/Game Objects/Components/Component.Core

[readonly] renderOrderID : number The render order ID is used internally by the renderer and

2025-01-10 15:47:30
Component.InWorld#outOfCameraBoundsKill
  • References/Game Development/Phaser/Game Objects/Components/Component.InWorld

outOfCameraBoundsKill : boolean If this and the autoCull property are both set to true, then the kill

2025-01-10 15:47:30
Component.PhysicsBody.postUpdate()
  • References/Game Development/Phaser/Game Objects/Components/Component.PhysicsBody

<static> postUpdate() The PhysicsBody component postUpdate handler.Called automatically

2025-01-10 15:47:30
Component.Bounds#centerX
  • References/Game Development/Phaser/Game Objects/Components/Component.Bounds

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)

2025-01-10 15:47:30
Component.Delta#deltaX
  • References/Game Development/Phaser/Game Objects/Components/Component.Delta

[readonly] deltaX : number Returns the delta x value. The difference between world.x now and

2025-01-10 15:47:30
Component.ScaleMinMax#transformCallback
  • References/Game Development/Phaser/Game Objects/Components/Component.ScaleMinMax

transformCallback : Function The callback that will apply any scale limiting to the worldTransform.

2025-01-10 15:47:30