Button#Button
  • References/Game Development/Phaser/Display/Button

new Button(game, x, y, key, callback,

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

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

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

[readonly] previousRotation : number The rotation the Game Object was in set to in the previous

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

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
Image#cameraOffset
  • References/Game Development/Phaser/Display/Image

cameraOffset : Phaser.Point The x/y coordinate offset

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

forEachExists(callback, callbackContext, args) Call a function on each existing child in this group.

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

removeChild(child) → {DisplayObject}

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

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds

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

cameraOffset : Phaser.Point If this object is

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

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

2025-01-10 15:47:30