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

onFireLimit : Phaser.Signal The onFireLimit Signal

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

bulletLifespan : number If you've set bulletKillType to Phaser.Weapon.KILL_LIFESPAN this controls the

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

distanceToXY(displayObject, x, y, world) → {number} Find the distance

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

addBulletAnimation(name, frames, frameRate, loop, useNumeri

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

autofire : boolean Will this weapon auto fire? If set to true then a new bullet will be firedbased on the fireRate

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

sortDirection : number Used when colliding a Sprite vs. a Group, or a Group vs. a Group, this defines the direction the sort is

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

trackSprite(sprite, offsetX, offsetY, trackRotation)

2025-01-10 15:47:30
Physics.Arcade.Body#overlapR
  • References/Game Development/Phaser/Arcade Physics/Physics.Arcade.Body

overlapR : number If Body.isCircle is true, and this body collides with another circular body, the amount of overlap

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

bulletInheritSpriteSpeed : boolean When a Bullet is fired it can optionally inherit the velocity of the trackedSprite

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

updateMotion(The) Called automatically by a Physics body, it updates all motion related values on the Body unless World.isPaused

2025-01-10 15:47:30