Recreating a C64 game
As you can tell from the video, the game isn’t that complex. Here’s my shopping list:
- an animation of a helicopter
- a map of the Netherlands
- coordinates of all Dutch cities
- a clock
- a scoring system
- a randomizer to select different cities
- some form of collision detection to determine if the helicopter is at the required location on the map
- a way to convert keyboard presses into directional controls
To make things slightly more interesting, I want to use a canvas element. It would probably be easier to use a collection of divs, but where’s the challenge in that, right?
I’ve already found a nice, large map with all Dutch municipalities on it that I can use as a basis for my map and for my coordinates list.
As I’m doing this in my spare time, I’m giving myself one month to finish it. Also, I’m not going to use any library (except for excanvas.js to make it work in IE as well). Reason for this is that I’m not used to work without the safety net of a framework, and I notice that it limits me in being a good JS programmer (basically, I’m too used to the Prototype.js idiom). This will probably mean that I’ll need to look at code optimization at some point.
I’ll start on this next week, after a weekend of relaxing. I hope you (read: someone) will follow my endeavours and maybe learn something from it (as I hope I will).