Component.Bounds#offsetY
  • References/Game Development/Phaser/Game Objects/Components/Component.Bounds

[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate

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

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.

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

cameraOffset : Phaser.Point The x/y coordinate offset

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

[readonly] previousPosition : Phaser.Point

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

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

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

checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame

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

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

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

play(name, frameRate, loop, killOnComplete) → {

2025-01-10 15:47:30