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
Weapon.KILL_WEAPON_BOUNDS
  • References/Game Development/Phaser/Arcade Physics/Weapon

[static] KILL_WEAPON_BOUNDS : integer A bulletKillType constant that automatically

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

setBounds(x, y, width, height) Updates the size of this physics world. Parameters

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.Body#embedded
  • References/Game Development/Phaser/Arcade Physics/Physics.Arcade.Body

embedded : boolean If a body is overlapping with another body, but neither of them are moving (maybe they spawned on-top of each

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

forceX : boolean If true World.separate will always separate on the X axis before Y. Otherwise it will check gravity totals first

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#syncBounds
  • References/Game Development/Phaser/Arcade Physics/Physics.Arcade.Body

syncBounds : boolean If true the Body will check itself against the Sprite.getBounds() dimensions and adjust its width and height

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

sortBottomTop(a, b) → {integer} A Sort function for sorting two bodies based on a BOTTOM to TOP

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

renderBodyInfo(body, x, y, color) Render Sprite Body Physics Data as text. Parameters

2025-01-10 15:47:30