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

left : number The left coordinate of the Game Object.This is the same as x - offsetX.

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

new InWorld() The InWorld component checks if a Game Object is within the Game World Bounds.An object is considered as being "in

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

maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure

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

events : Phaser.Events All Phaser Game Objects

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

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate

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

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.

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

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

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

new Animation() The Animation Component provides a play method, which is a proxy to the AnimationManager.play

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

[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag

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

<static> preUpdate() The InWorld component preUpdate handler.Called automatically by

2025-01-10 15:47:30