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.
Making it simple to add more types of tiles to our map, and creating some helper functions for Character movement.
A simple method to test if two rectangles are colliding in 2D space.
Simple movement method that gives the appearance of limited intelligence and path-finding.