The game is actually a final project for grade 12 computer science course. It is basically a clone of the popular iPhone game, Run! The game uses the Allegro game/graphics library and the chipmunk physics engine to do all the hard work!
At the time of writing this game I was actually still learning C I thought this would be a good way to learn; by programming a game. Also, this was an excellent setting for me to use my newly found knowledge of linked lists and queues!
Take a look around this documentation and see how I created this game
FILE LIST: Lists all the source and header files used in this game, you can even view all the code
MODULE LIST: Lists all the files like file list but...displays them differently
DATA STRUCTURES: Lists all the structs in the game, click on them to see what they are all about
I never got time to actually implement the How to Play menu in game, so here are the basic rules
1. Arrow keys to move, or WASD
2. Up/Down or W/S to jump/slide
3. Spacebar to attack, you can attack while jumping/sliding
4. Jump over the metal looking box/walls, they are invincible
5. Slide under the fist, invincible
6. The red boxes/walls are also invincible! But you can destroy them by clicking on them with the mouse
7. Avoid/dodge/attack all other enemies
8. Points are scored for destroying the enemies, and there is a survival timer
9. P to PAUSE!
10. Press M to return to main menu if it gets to hard!
This should compile on Windows XP/Vista/7, it might lag if the computer is old. You must have TDM Dragon's version of MINGW32 INSTALLED! (google it) With gcc version 4.5 MAKE SURE MinGW32/bin IS IN YOUR PATH AND Mingw32-make.exe WORKS
You must use the makefile provided to build the game. Follow the steps
1. Open a command prompt
2. cd to the speedrun directory
3. type in Mingw32-make
4. Let it run to completion
5. The executable is in the newly created DIST folder with all required files/folders
This project is will always be a work in progress! There is still a lot to do!