PhysicsTilemap (Greedy Meshing)
A 108×40 procedurally-generated platformer level converted to physics with buildTilemapBody. Greedy meshing reduces hundreds of solid tiles into a handful of rectangles. Procedurally-textured dirt + grass tiles, camera follows the player. Click a tile to toggle solid/empty (rebuilds the body). WASD/Arrows + Space to play. O toggles greedy-rect overlay.
Source Code





