Shaku: Collision Tilemap

This demo demonstrate a special collision shape: tilemap.
Tilemaps create an even grid of collision rectangles that you can easily set or unset. Its an easy & efficient way to implement collision for tile-based levels.
You can combine other shapes with tilemap shapes in your collision world, and even have multiple tilemaps (note however that tilemaps can't collide with each other).
Move the shape with your mouse to test collision, press 1-4 to replace the shape you control.