Bullet#health
  • References/Game Development/Phaser/Plugins/Bullet

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

2025-01-10 15:47:30
Bullet#angle
  • References/Game Development/Phaser/Plugins/Bullet

angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values

2025-01-10 15:47:30
Bullet#setTexture()
  • References/Game Development/Phaser/Plugins/Bullet

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy

2025-01-10 15:47:30
Bullet#x
  • References/Game Development/Phaser/Plugins/Bullet

x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.

2025-01-10 15:47:30
Bullet#Bullet
  • References/Game Development/Phaser/Plugins/Bullet

new Bullet(game, x, y, key, frame) Create a new Bullet object. Bullets are used by the Phaser.Weapon class

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

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

2025-01-10 15:47:30
Bullet#deltaY
  • References/Game Development/Phaser/Plugins/Bullet

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

2025-01-10 15:47:30
Bullet#frame
  • References/Game Development/Phaser/Plugins/Bullet

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the

2025-01-10 15:47:30
Bullet#ignoreChildInput
  • References/Game Development/Phaser/Plugins/Bullet

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children

2025-01-10 15:47:30
Bullet#loadTexture()
  • References/Game Development/Phaser/Plugins/Bullet

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

2025-01-10 15:47:30