Physics.Arcade#sortTopBottom()
  • References/Game Development/Phaser/Arcade Physics/Physics.Arcade

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

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

[readonly] preRotation : number The previous rotation of the physics body.

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

bulletKey : string The Texture Key that the Bullets use when rendering.Changing this has no effect on bullets in-flight,

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

mass : number The mass of the Body. When two bodies collide their mass is used in the calculation to determine the exchange of

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

touching : Object This object is populated with boolean values when the Body collides with another.touching.up = true means

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

onCollide : Phaser.Signal A Signal that is dispatched

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

allowRotation : boolean Allow this Body to be rotated? (via angularVelocity, etc) Default

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

bulletCollideWorldBounds : boolean Should bullets collide with the World bounds or not?

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

checkCollision : Object Set the checkCollision properties to control which directions collision is processed for this Body.

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

resetShots(newLimit) → {Phaser

2025-01-10 15:47:30