Drawing a Tile Map - Canvas & Javascript
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.
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.
Find all the points a line between two coordinates in 2D space touches.
We now look at adding a Character and converting user input to movement in our tile map tutorial.
The Character arriving at a specific tile may need to progress or alter the game world or story. We can do that by assigning functions to be triggered on arrival at certain tiles.