Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / The Platform (DBPro)

dark coder
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 28th Apr 2007 21:33 Edited at: 28th Apr 2007 21:38
The Platform?

This is an FPS game where you must stay on your platform(Circle) and fight off all objects which try and knock you off! The game started off as being a more realistic FPS where I would try and push the boundaries of 200KB but I soon realized that textures take up quite a bit of space, even when 64x64, so I decided to make more abstract FPS game. This game took 2 days to make.


WASD - Move around
Left click - Fire a single bullet(Polygon)
Right click - Fire two(Less accuracy / Range)
Space - Jump(rather useless)


Uncompressed code:

Compressed code:


This code may not be the best to learn from because I spent the past few hours trying to shave off extra lines of code, leading to some rather stupid optimizations.

To compile the code you need Sparky's DLL

Also the game has media so download the file below and it comes with a .exe .


Login to view attachments
bass guy1669
Years of Service
User Offline
Joined: 24th Mar 2007
Location: The Zone
Posted: 29th Apr 2007 03:33
Very Fun darkcoder its hard but fun good job

you can live with a man for all his days, but you really find what he really is like when hold him over a volcano
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 29th Apr 2007 13:20
Interesting game.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)

Login to post a reply

Server time is: 2023-12-09 12:43:47
Your offset time is: 2023-12-09 12:43:47