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.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.ScaleMinMax#scaleMin
  • References/Game Development/Phaser/Game Objects/Components/Component.ScaleMinMax

scaleMin : Phaser.Point The minimum scale this Game

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.LoadTexture#frameName
  • References/Game Development/Phaser/Game Objects/Components/Component.LoadTexture

frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the

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.ScaleMinMax#scaleMax
  • References/Game Development/Phaser/Game Objects/Components/Component.ScaleMinMax

scaleMax : Phaser.Point The maximum scale this Game

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.Core#name
  • References/Game Development/Phaser/Game Objects/Components/Component.Core

name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant

2025-01-10 15:47:30