phaser2-navmesh

A plugin for Phaser (v2) for fast pathfinding using navigation meshes

Usage no npm install needed!

<script type="module">
  import phaser2Navmesh from 'https://cdn.skypack.dev/phaser2-navmesh';
</script>

README

Phaser 2 NavMesh

A Phaser 2 plugin for fast pathfinding using navigation meshes.

For usage information, see: mikewesthad/navmesh.

Changelog

Version 2.3.0

  • Fix: webpack misconfiguration that caused issue 37. The build was only picking up the "default" export, but now it properly picks up all library exports. Thanks to@Wenish.

Version 2.2.1

  • Update all dependencies to the latest versions.

Version 2.2.0

  • Feature: PhaserNavMesh2#isPointInMesh allows you to check if a point is inside of the navmesh.

Version 2.1.0

  • Added public removeAllMeshes() to Phaser2NavMeshPlugin.
  • Converted library to TypeScript.

Version 2.0.5

  • Bug: fixed webpack config so that it applied babel transform and so that it worked under node environments, thanks to @will-hart

Version 2.0.4

  • Bug: fixed a bug when destroying navmeshes, thanks to @GGAlanSmithee for pointing it out