Weapon#onFire
  • References/Game Development/Phaser/Arcade Physics/Weapon

onFire : Phaser.Signal The onFire Signal is dispatched

2025-01-10 15:47:30
Weapon#trackedSprite
  • References/Game Development/Phaser/Arcade Physics/Weapon

trackedSprite : Phaser.Sprite | Object The Sprite

2025-01-10 15:47:30
Weapon#bulletSpeedVariance
  • References/Game Development/Phaser/Arcade Physics/Weapon

bulletSpeedVariance : number This is a variance added to the speed of Bullets when they are fired.If bullets have a

2025-01-10 15:47:30
Weapon#x
  • References/Game Development/Phaser/Arcade Physics/Weapon

x : number The x coordinate from which bullets are fired. This is the same as Weapon.fireFrom.x, andcan be overridden

2025-01-10 15:47:30
Weapon.KILL_DISTANCE
  • References/Game Development/Phaser/Arcade Physics/Weapon

[static] KILL_DISTANCE : integer A bulletKillType constant that automatically

2025-01-10 15:47:30
Weapon#bulletClass
  • References/Game Development/Phaser/Arcade Physics/Weapon

bulletClass : Object The Class of the bullets that are launched by this Weapon. Defaults Phaser.Bullet, but can be

2025-01-10 15:47:30
Weapon#fireLimit
  • References/Game Development/Phaser/Arcade Physics/Weapon

fireLimit : number The maximum number of shots that this Weapon is allowed to fire before it stops.When the limit is his

2025-01-10 15:47:30
Weapon#bulletAngleOffset
  • References/Game Development/Phaser/Arcade Physics/Weapon

bulletAngleOffset : number An optional angle offset applied to the Bullets when they are launched.This is useful if for example

2025-01-10 15:47:30
Weapon#trackedPointer
  • References/Game Development/Phaser/Arcade Physics/Weapon

trackedPointer : Phaser.Pointer The Pointer currently

2025-01-10 15:47:30
Weapon#setBulletFrames()
  • References/Game Development/Phaser/Arcade Physics/Weapon

setBulletFrames(min, max, cycle, random) → {

2025-01-10 15:47:30