Arcade Physics
Tilemap

Bodies can only move on sand. Gray tiles are solid. Tiles are from the Kenney Tiny Dungeon pack (CC0).

Use Tiles with PixiJS

Debug Physics