GameObjectFactory#weapon()
  • References/Game Development/Phaser/Game Objects/GameObjectFactory

weapon(quantity, key, frame, group)

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

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.

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

cameraOffset : Phaser.Point The x/y coordinate offset

2025-01-10 15:47:30
InputHandler#game
  • References/Game Development/Phaser/Game Objects/InputHandler

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

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

[readonly] previousPosition : Phaser.Point

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

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

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
Group#name
  • References/Game Development/Phaser/Game Objects/Group

name : string A name for this group. Not used internally but useful for debugging. Source

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

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

2025-01-10 15:47:30
Video#videoStream
  • References/Game Development/Phaser/Game Objects/Video

videoStream :MediaStream The Video Stream data. Only set if this Video is streaming from the webcam via startMediaStream

2025-01-10 15:47:30