Component.ScaleMinMax#ScaleMinMax
  • References/Game Development/Phaser/Game Objects/Components/Component.ScaleMinMax

new ScaleMinMax() The ScaleMinMax component allows a Game Object to limit how far it can be scaled by its parent.

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

new Health() The Health component provides the ability for Game Objects to have a health propertythat can be damaged

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

top : number The y coordinate of the Game Object.This is the same as y - offsetY.

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

x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.

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

overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with

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#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.BringToTop#sendToBack()
  • References/Game Development/Phaser/Game Objects/Components/Component.BringToTop

sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display

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

new LifeSpan() LifeSpan Component Features. Source code:

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