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#level
  • References/Game Development/Phaser/Math/QuadTree

level : number The current level. Source code:

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

difference(a, b) → {number} The absolute difference between two values. 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
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#catmullRomInterpolation()
  • References/Game Development/Phaser/Math/Math

catmullRomInterpolation(v, k) → {number} A Catmull Rom Interpolation Method, mostly used by Phaser

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

new QuadTree(x, y, width, height, maxObjects, maxLevels, level)

2025-01-10 15:47:30
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#Math
  • References/Game Development/Phaser/Math/Math

new Math() A collection of useful mathematical functions. These are normally accessed through game.math.

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