https://github.com/guilt/afterburn
Afterburn Game Source Code (ca. 2002)
https://github.com/guilt/afterburn
afterburn allegro space-shooter video-game
Last synced: 10 months ago
JSON representation
Afterburn Game Source Code (ca. 2002)
- Host: GitHub
- URL: https://github.com/guilt/afterburn
- Owner: guilt
- License: mit
- Created: 2025-06-01T00:10:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-01T01:04:47.000Z (about 1 year ago)
- Last Synced: 2025-09-24T12:41:03.301Z (10 months ago)
- Topics: afterburn, allegro, space-shooter, video-game
- Language: C
- Homepage: https://web.archive.org/web/20070306154905/home.gna.org/afterburn
- Size: 1.21 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.HTM
- License: LICENSE.MD
Awesome Lists containing this project
README
AfterBurn © Documentation
AfterBurn
©
by Karthik Kumar Viswanathan & Nikhil Karnad
Contents
-
Welcome -
Disclaimer -
Copyrights -
Game Notes -
Guns -
Collectibles -
Points -
Enemies -
User Experience -
Game Debugging -
Themes -
Source Code - Contact Us
Welcome
Thank you for procuring this game : Hope you have as much
fun playing it as we had making it .
Disclaimer
#include <std_disclaimer.h>
"We do not accept responsibility for any effects ,adverse or otherwise ,
that this source code and software may have on you ,your computer ,your sanity ,your dog ,and
anything else that you can think of .Use it at your own risk ."
Copyrights
Permission is granted to anyone to use and redistribute the source
code for any purpose including commercial applications ,and to alter it and
redistribute it freely as long as you don't claim it as yours or misrepresent
its origin ;Altered source code must be clearly marked as such ,and must not be
misrepresented as being the original source code .
Game Notes
You are a Space Ship ,in a Space Shooter : press Space to shoot ;)
Shoot anything that isn't you .And don't hit 'em or their bullets .
Guns
"Guns .Lots of 'em ."
You can use different types of bullets to fire .A short description of what's available :
Gun 1
Bullet : Fire Fury
Description : Infinite ammo .
Gun 2
Bullet : Poison Pint
Description : Full of Green Venom ,Jagged Fire ...
Gun 3
Bullet : Lightning Lash
Description : Phew !That's fast !
Gun 4
Bullet : Icy Impulse
Description : Brrr .... Freezing cold ,fired in a V pattern .
Gun 5
Bullet : Vertical Ventura
Description : Diamond ,Vertical fire : Clean Sweep the screen with it .
Gun 6
Bullet : Mega Mine
Description : A blast .Place 'em and go away .
Collectibles
Collectibles are of two types : Ammo and Others .
Ammo
Ammo is for guns .They add on for Guns other than
that for Fire Fury ,in which case the bullet power is boosted .
Others
Others give health ,lives and points .
All collectibles disappear after some time .
Points
Points can be accumulated by killing enemies or picking up collectibles
.Once you cross a number of points ,a life gets added .Once a new life
gets added ,your points drop down to zero .This is done till you have
the maximum number of lives ,after which you can accumulate as many points
as you like ,as long as you don't lose your life .
Enemies
Enemies aren't spawned as such .Only certain types of enemies are allowed in a given level .One may usually expect the difficulty level to increase with level .
Do not stand in their way if they can shoot .Use appropriate guns instead .
User Experience
Running it is no big deal .It plays _only_ with a keyboard as of now .
These are the controls :
Generic Menus
KeysFunction
UpMove Up
DownMove Down
LeftCycle Through Selection - Previous
RightCycle Through Selection - Next
EnterActivate/Toggle Selection
MToggle Music On/Off
SToggle SFX On/Off
F12Take a PCX snapshot
EscQuit/To Previous Menu
Game
KeysFunction
UpMove Up
DownMove Down
LeftMove Left
RightMove Right
SpaceShoot
TToggle Stats On/Off
MToggle Music On/Off
SToggle SFX On/Off
PPause
F12Take a PCX snapshot
EscEsc Menu
QCycle Through Guns - Previous
WCycle Through Guns - Next
1Gun 1
2Gun 2
3Gun 3
4Gun 4
5Gun 5
6Gun 6
7Gun 7*
8Gun 8*
9Gun 9*
0Gun 10*
* - subject to availability
Game Debugging
Look at the Game Log if the game does not run properly .In case you aren't able to see anything in it ,report it to us .
Themes
Themes are to be written in a file having .INI extension .A batch file/shell script is to be provided ,passing the .INI filename as a command line argument
to the executable .The game files are to be placed in the same directory as the executable .A sample theme ,GREEN
has been given .If you are interested in making themes ,contact us for the specs .
Source Code
The source code (in C) for this game has been given .We believe in writing
useful (?) free software .We hope you appreciate our efforts and respect
our feelings and copyrights for this game .
- You should have these external libraries to make the program :
Allegro ,JGMOD/DUMB (DUMBOGG) and Allegrofont . - The DirextX SDK is needed to compile the software for Windows .
- libogg ,libvorbis and libvobisfile are needed for DUMBOGG support .
- JGMOD Support is still provided ,for a Psenti .It was used first .It can still be used now ,if the DUMB code fails for DOS .
However ,loading of IT and OGG files may not be possible in JGMOD ,and that of JGM files in DUMB .
- Has been tested on Windows and GNU/Linux
platforms .
- You should have a compliant compiler such as GCC .
-
MIDI isn't used in this distro .If you are keen on it ,you can see for yourself that the source is MIDI compatible .
- For a list of what changes/fixes/improvements have been done
to the code ,please read the LOG.TXT in the source directory .