Templates

During the course of this course, you will be given access to five template files. These are:

game.htm This is the file in which you will insert your graphics. These may be GIF or JPG files.

game.css Thie file may be used to make your HTML code nice and neat - I will explain more on this later.

eHan.js This is a JavaScript file which I have provided for easy access to the status of the keyboard and mouse. You do not need to change this file.

spri.js This is a JavaScript file which I have provided for easy manipulation of the on screen locations of your graphics. You do not need to change this file.

game.js This JavaScript file may be used to build the working parts of your game.

In case you are wondering, 640 by 512 pixels is this big:


Please download the files below:
world.bmp | template.zip