zCanvas : pixel-perfect collisions and clipping viewports

Demo features : a keyboard / touchscreen-controllable spritesheet character that uses the pixel-accurate (and slightly heavier) collision detection-variant (see API docs) to resolve collisions with the environment.
Viewport: on mobile screens (or resize your window to a portrait oriented view), the content of the canvas will be clipped by a Viewport where the Viewport will center around the player character. The size of the canvas remains static as it describes the "world" size, while the Viewport describes the visible area.

Use arrow keys and spacebar to jump.