Gamemap: Canvas Experiment
Intro
Since I needed a map for my new working title prototype: General’s Map, I decided I would try out something with the HTML 5 canvas element.
Using the canvas element meant I would be using a lot of javascript. Animations would be so much easier, though I had my doubts about other parts. Okay, animations would be easier, but could it do the ‘normal stuff’?
I decided the best way to test it was to make it. So I began on a simple script . The first step was to render the tiles to the screen, that was very easy. The next step was to render other ‘objects’ on top of it, like cities etc, that was even easier.
