JavaScript HTML Game Development Tutorial 4 - Tile Map Game Engine for RPG or 2D Platformer

Download source code for tutorial series here: Starting a new JavaScript HTML5 2D tile map game engine (The first step in trying to find out how to make a game like Terraria, for example) is what this gamedev tutorial is all about. This is the first tutorial in the series that determines a basic framework for creating a JavaScript game engine with tile-based game levels. This basically means that we have to think in terms of components, which are separate JavaScript files, for canvas, tiles, game world, keyboard controls, etc. The HTML tile map game engine code from this tutorial will be reused in future editions of my tutorials. By the end of this tutorial you will learn how to draw tile sprites on JavaScript canvas and learn a few game development (gamedev) tricks along the way, including drawing randomized tiles. HTML game engine programming should be fun, but because it really is a technical process (when no game maker software is used), and for this reason I tried to k
Back to Top