PhaserJS - Tile-Based Movement Prototype
Implementing a tile based movement game prototype. Based on PhaserJS's Coding Tip #5.
NPC collision detection
For some reason, Phaser's Arcade Physics engine didn't handle collision detection. In its stead, I implemented my own tile-based collision system and movement.
The player and NPCs set collisions on the tile they occupy. They also clear the collision on the tile they left.