A small game tutorial
This is a small tutorial on how to create games using C and Assembly.
In this tutorial, we will learn how to create fast graphics and sizzling sound, as well as how to program smart enemies, and different levels of play without re-writing all the code.
We will create a small game engine that will take data as input and then display the current screen status.
You can create new levels by simply typing in some text in an ascii text editor. That's it. No new code or anything. The game engine we create does it all.
We will be creating a small 'PAC-MAN' like game with all the ghosts and goodies. Once finished with one level, you move on to the next, and the next; as many as are easily created from an ascii text editor.
We will be creating 'BURF-MAN'. The name? I was typing, thought barfman would be fine, mistyped a 'U' instead of the 'A' and the name stuck. Anyway, Burfman is, as stated above, a PAC-MAN like game. We will write the code and necessary data files to create burfman starting with simple level processing and writing code to create large level capabilities.
This game tutorial contains ZIP files containing each individual step, with the last containing the final product waiting for you to create your levels of play.
The layout of these files are:
GAMETUT1.ZIP - The code and tutorial for the first step
GAMETUT2.ZIP - The code and tutorial for the second step
GAMETUTn.ZIP - The code and tutorial for the nth step
BURFMAN.ZIP - The finished code for you to create your levels of play
Each GAMETUTn.ZIP file will contain documentation and the code to that step. You should start with GAMETUT1.ZIP and proceed to the next tutorial in order explained above. However, each step includes the current 'version' of code from the last step. This way you can start at any step you want. Assuming you will start at the first step, I will not document previous steps
in each step of the tutorial as I proceed.
Each step is due out about every month. Sometimes sooner, sometimes later.
Here are the files:
Step 1: GAMETUT1.ZIP (6k) - (25 Feb 1998) Game grid and screen creation
Step 2: GAMETUT2.ZIP (6k) - (13 June 1998) Keyboard input and 'smart' enemies.
Step 3: Character animation.
Step 4: Adding sound using the Sound Blaster.
Step 5: Adding timed interval bonus items (timed interval programming).
Step 6: Wrap up. Includes full game source.