Search code examples
htmlcanvas2d-games

How to generate maps


I am creating a html5 canvas game. I cannot figure out how to perform the generation of such maps.

All maps of different size and scale. How does it work?

example map


Solution

  • There are plenty of resource about HTML 5 game

    Here is one Build a tile-based HTML5 game

    Or you wanna to use some Js engine perhaps? http://www.kiwijs.org/api/

    Hope this would help you