angleBetweenPoints(point1, point2) → {number} Find the angle of a segment from (point1.x, point1
reset(x, y, width, height, maxObjects, maxLevels, level)
sinCosGenerator(length, sinAmplitude, cosAmplitude, frequency) → {Object} Generate a sine and cosine
getIndex(rect) → {number} Determine which node the object belongs to. Parameters
level : number The current level. Source code:
reverseAngle(angleRad) → {number} Reverses an angle. Parameters
catmullRomInterpolation(v, k) → {number} A Catmull Rom Interpolation Method, mostly used by Phaser
timestamp(min, max) → {number} Returns a random timestamp between min and max, or between the beginning
new Math() A collection of useful mathematical functions. These are normally accessed through game.math.
getShortestAngle(angle1, angle2) → {number} Gets the shortest angle between angle1
Page 1 of 9