Math#radToDeg()
  • References/Game Development/Phaser/Math/Math

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

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
Math#fuzzyFloor()
  • References/Game Development/Phaser/Math/Math

fuzzyFloor(val, epsilon) → {number} Applies a fuzzy floor to the given

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

sinCosGenerator(length, sinAmplitude, cosAmplitude, frequency) → {Object} Generate a sine and cosine

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#between()
  • References/Game Development/Phaser/Math/Math

between(min, max) → {number} Returns a number between the min and max

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

mapLinear(x, a1, a2, b1, b2) → {number} Linear mapping from range to range Parameters

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

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

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

rotateToAngle(currentAngle, targetAngle, lerp) → {number} Rotates

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

clampBottom(x, a) → {number} Clamp x to the range [a, Infinity).Roughly

2025-01-10 15:47:30