Drawing a Tile Map - Canvas & Javascript

Drawing a Tile Map - Canvas & Javascript

Fri May 02 2025 15:06:07 GMT+0100 (British Summer Time)

Discover the basics of tile maps, using Canvas and Javascript. In this tutorial we'll learn how to draw a simple Tile Map to an HTML Canvas.

Random Articles

More Tile Types for the Tile Map

More Tile Types for the Tile Map

Fri May 02 2025 15:06:07 GMT+0100 (British Summer Time)

Making it simple to add more types of tiles to our map, and creating some helper functions for Character movement.

Raytracing Lighting on a 2D Tilemap

Raytracing Lighting on a 2D Tilemap

Fri May 02 2025 15:06:07 GMT+0100 (British Summer Time)

Lighting 2D tilemaps with light sources and ray tracing.

Mouth and Body Automata

Mouth and Body Automata

Fri May 02 2025 15:06:07 GMT+0100 (British Summer Time)

Another simple cellular automata setup, this time showing interactions between cells with random mouth and body colours to represent type and prey type.