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

Movement speeds on different tile types

Movement speeds on different tile types

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

We can't move on all surfaces with the same ease, so now we learn how to set different movement speeds dependant on the type of tile.

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.

No Backtracking

No Backtracking

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

Simple movement method that gives the appearance of limited intelligence and path-finding.