Hello everybody,
I've got a little problem with the findPath function.
I do a mix of two tutorials (one from this site, and the second on haxecoder) and the second one use CSV instead Ogmo and
use a findPath when we click.
But when i click, the game crash, nice.
The probleme is on the 86th line : "var nodes:Array<FlxPoint> = _mWalls.findPath(FlxPoint.get(_player.x + 16 / 2, _player.y + 16 / 2), FlxPoint.get(tileCoordX * 16 + 16 / 2, tileCoordY * 16 + 16 / 2));"
If anybody know what happend, i'm still here haha.
Thanks :)