Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
1.34k
stars
491
forks
source link
Uncaught TypeError: Phaser.Math.fuzzyEquals is not a function #634
Closed
Cerlancism closed 5 years ago
It seems in
Phaser.Point.fuzzyEquals
has a typing mistake when calling a static method fromPhaser.Maths
.It should be
Phaser.Math.fuzzyEqual
instead ofPhaser.Math.fuzzyEquals
.In
Point class
https://github.com/photonstorm/phaser-ce/blob/da7bdf93b52ff1fb889612f03ef47293ec6af6ba/src/geom/Point.js#L790-L796In
Math class
https://github.com/photonstorm/phaser-ce/blob/da7bdf93b52ff1fb889612f03ef47293ec6af6ba/src/math/Math.js#L183-L199