Welcome to Phrogram Sign in | Join | Help


Space Junk! Cleaning up the universe ...

File Details
Downloads: 1203 File Size: 2.7MB
Posted By: NeilWinton Views: 487
Date Added: Tue, Nov 21 2006

This is a game of the "shoot 'em up" genre in which you attempt to destroy as much of the incoming (bizarre) space debris as possible. I wrote it in an attempt to understand and learn the "Phrogram way" of doing things.

The attached file is a Zip archive containing an installation package (created using InnoSetup). The source for the program is included, and you'll find it in the installation directory. It's about 1200 lines (including comments --- about 900 without). It has examples of how I tackled background scrolling, dynamically created objects (not relying on fixed-length arrays), extension via an external configuration file (you can add new levels without recompiling), optimizing movement for a large number of sprites (avoiding expensive maths calls) and probably some more stuff that you might find useful (if only to say, "don't do it like that!").

Have fun. And if you create any more levels, please let me know.

Neil 

Filed under:
Comments
 

The Dragon Rider said:

Great work, Neil! I really like it.
Sat, Nov 25 2006 6:47 PM
 

Oyoyoyoyoy said:

Awsome work I love it I wish I had your skill.
Sun, Nov 26 2006 5:07 AM
 

Hymake said:

very good!!! awsome!
Mon, Dec 11 2006 7:05 AM