QuadTree#bounds
  • References/Game Development/Phaser/Math/QuadTree

bounds : Object Object that contains the quadtree bounds. Source code:

2025-01-10 15:47:30
Math#linearInterpolation()
  • References/Game Development/Phaser/Math/Math

linearInterpolation(v, k) → {number} A Linear Interpolation Method, mostly used by Phaser.Tween

2025-01-10 15:47:30
Math#radToDeg()
  • References/Game Development/Phaser/Math/Math

radToDeg(radians) → {number} Convert radians to degrees. Parameters

2025-01-10 15:47:30
RandomDataGenerator#timestamp()
  • References/Game Development/Phaser/Math/RandomDataGenerator

timestamp(min, max) → {number} Returns a random timestamp between min and max, or between the beginning

2025-01-10 15:47:30
RandomDataGenerator#normal()
  • References/Game Development/Phaser/Math/RandomDataGenerator

normal() → {number} Returns a random real number between -1 and 1. Returns

2025-01-10 15:47:30
Math#average()
  • References/Game Development/Phaser/Math/Math

average() → {number} Averages all values passed to the function and returns the result.

2025-01-10 15:47:30
RandomDataGenerator#sow()
  • References/Game Development/Phaser/Math/RandomDataGenerator

sow(seeds) Reset the seed of the random data generator. Note: the seed array is only processed up to the first undefined

2025-01-10 15:47:30
QuadTree#retrieve()
  • References/Game Development/Phaser/Math/QuadTree

retrieve(source) → {array} Return all objects that could collide with the given Sprite or Rectangle

2025-01-10 15:47:30
Math#angleBetweenPoints()
  • References/Game Development/Phaser/Math/Math

angleBetweenPoints(point1, point2) → {number} Find the angle of a segment from (point1.x, point1

2025-01-10 15:47:30
Math#isOdd()
  • References/Game Development/Phaser/Math/Math

isOdd(n) → {boolean} Returns true if the number given is odd. Parameters

2025-01-10 15:47:30