isOdd(n) → {boolean} Returns true if the number given is odd. Parameters
isEven(n) → {boolean} Returns true if the number given is even. Parameters
fuzzyFloor(val, epsilon) → {number} Applies a fuzzy floor to the given
getShortestAngle(angle1, angle2) → {number} Gets the shortest angle between angle1
new Math() A collection of useful mathematical functions. These are normally accessed through game.math.
reverseAngle(angleRad) → {number} Reverses an angle. Parameters
catmullRomInterpolation(v, k) → {number} A Catmull Rom Interpolation Method, mostly used by Phaser
distancePow(x1, y1, x2, y2, pow) → {number} Returns the distance between
sinCosGenerator(length, sinAmplitude, cosAmplitude, frequency) → {Object} Generate a sine and cosine
average() → {number} Averages all values passed to the function and returns the result.
Page 1 of 6