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

new Smoothed() The Smoothed component allows a Game Object to control anti-aliasing of an image based texture.

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

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components

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

pendingDestroy : boolean A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic

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

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be

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

new PhysicsBody() The PhysicsBody component manages the Game Objects physics body and physics enabling.It also overrides the x

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

[readonly] deltaZ : number Returns the delta z value. The difference between rotation now

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

[readonly] fresh : boolean A Game Object is considered fresh if it has just been

2025-01-10 15:47:30