new FixedToCamera() The FixedToCamera component enables a Game Object to be rendered relative to the game camera coordinates, regardless
resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering. Source
input : Phaser.InputHandler | null The
damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
body : Phaser.Physics.Arcade.Body |
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
animations : Phaser.AnimationManager
[readonly] renderOrderID : number The render order ID is used internally by the renderer and
new Health() The Health component provides the ability for Game Objects to have a health propertythat can be damaged
crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting
Page 6 of 9