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

alignTo(parent, position, offsetX, offsetY) → {Object}

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

game : Phaser.Game A reference to the currently running Game

2025-01-10 15:47:30
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.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.Delta#Delta
  • References/Game Development/Phaser/Game Objects/Components/Component.Delta

new Delta() The Delta component provides access to delta values between the Game Objects current and previous position.

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

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

2025-01-10 15:47:30