A futuristic overhead action game
After hacking into a top-secret computer, you are captured and brought to a strange facility where deadly robots guard the halls...can you make it out alive?
Shotgun Debugger is a 2D overhead shooter with polygon-based environments rendered in 3D.
- Features include:
- 3D animated character models
- Colored lighting, particle, and motion blur effects
- Gravity, friction, pushable objects, and ricocheting bullets
- Trigger-based event system
- Pathfinding AI
- Five types of enemies and six weapons to blow them away with
- Eight levels
- Best statistics stored for each level
- Mouse control and "first-person"-like angle-locked view for precise aiming
- Sound effects and music
- Support for high-resolution and wide-screen graphics modes
Shotgun Debugger was created by the Game Creation Society, a non-profit organization at Carnegie Mellon University.
License: free
Requirements: SDL, SDL_image, SDL_mixer
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by anonymous on 2005-05-06.

I like this game. It reminds me of Shooting Star. SS even has 2 player support ... :)
Btw: You should really add the source XML files of the level to the source archive. That way one can more easily learn how this stuff works in Inkscape.
The controls are very impressive for a keyboard/mouse combo in a 2d game but they still can't compare to a dual analog joystick. Support for this (absolute movement with one, aiming with the other) would be really great. In fact just having absolute movement with the keyboard and aiming with the mouse would be a welcome option.
The game is very impressive, but yeah I also wish there were independent movement and aiming controls as well.
We've also redone the first level (seriously reduced a lot of unneeded geometry) so that it doesn't bring less powerful computers to their knees, and I will make the SVG level sources available as well.
I had to insert a string #include in sdb.h. I'm using gcc 3.4.2 I didnt play a lot, so I can't rate it, but it looks very good.
#include math.h
but there is another error
g++ -c bitmapfont.cpp -o bitmapfont.o `sdl-config --cflags` -O2
g++ -c levelobjects.cpp -o levelobjects.o `sdl-config --cflags` -O2
g++ -c level.cpp -o level.o `sdl-config --cflags` -O2
level.cpp: In member function `void Level::calculateGrid()':
level.cpp:748: error: `ceil' is not a member of `std'
level.cpp:749: error: `ceil' is not a member of `std'
make: *** [level.o] Error 1
i've got this error on gcc 3.4.4 edit: on 3.3.4 it works fine - I see its something like postal
#!/bin/sh
patch -p1 < diff -Naur -x '*.o' sdb-1.0.1/src/interface.cpp sdb-1.0.1.new/src/interface.cpp
--- sdb-1.0.1/src/interface.cpp 2005-05-25 01:17:03.000000000 +0400
+++ sdb-1.0.1.new/src/interface.cpp 2005-06-08 16:14:30.000000000 +0400
@@ -1462,7 +1462,7 @@
int currRes = -1;
for (int i = 0; i < numRes; i++)
{
- if (config.xres == abs(resolutions[2*i]) && config.yres == resolutions[2*i+1])
+ if (config.xres == ::abs(resolutions[2*i]) && config.yres == resolutions[2*i+1])
{ currRes = i; break; }
}
@@ -1902,7 +1902,7 @@
glLoadIdentity();
- gluLookAt(cos(ang)*rad,abs(sin(ang))*10.0, sin(ang)*rad, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
+ gluLookAt(cos(ang)*rad,::abs(sin(ang))*10.0, sin(ang)*rad, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
glEnable(GL_TEXTURE_2D);
glEnable(GL_ALPHA_TEST);
diff -Naur -x '*.o' sdb-1.0.1/src/level.cpp sdb-1.0.1.new/src/level.cpp
--- sdb-1.0.1/src/level.cpp 2005-05-08 01:15:31.000000000 +0400
+++ sdb-1.0.1.new/src/level.cpp 2005-06-08 16:08:09.000000000 +0400
@@ -24,6 +24,7 @@
*/
#include "sdb.h"
+ #include
string fetchLevelName(char *file)
{
diff -Naur -x '*.o' sdb-1.0.1/src/sdb.h sdb-1.0.1.new/src/sdb.h
--- sdb-1.0.1/src/sdb.h 2005-05-25 01:32:21.000000000 +0400
+++ sdb-1.0.1.new/src/sdb.h 2005-06-08 16:12:14.000000000 +0400
@@ -29,6 +29,7 @@
#include
#include
#include
+#include
#include
#include
#include
EOF
line 2: syntax error near unexpected token `newline' line 2: `patch -p1 <'
That's probable me being noobish, but I see what you've fixed, and will make the changes for the next version.
-matt
(I really wish I had an account...I tried signing up with two different email addresses, and both times didn't get an activation email...So now I have two inactive accounts...who do I talk to about this?)
#!/bin/sh
patch -p1 <<EOF
#!/bin/sh
patch -p1 <<EOF
diff -Naur -x '*.o' sdb-1.0.1/src/interface.cpp sdb-1.0.1.new/src/interface.cpp
--- sdb-1.0.1/src/interface.cpp 2005-05-25 01:17:03.000000000 +0400
+++ sdb-1.0.1.new/src/interface.cpp 2005-06-08 16:14:30.000000000 +0400
@@ -1462,7 +1462,7 @@
int currRes = -1;
for (int i = 0; i < numRes; i++)
{
- if (config.xres == abs(resolutions[2*i]) && config.yres == resolutions[2*i+1])
+ if (config.xres == ::abs(resolutions[2*i]) && config.yres == resolutions[2*i+1])
{ currRes = i; break; }
}
@@ -1902,7 +1902,7 @@
glLoadIdentity();
- gluLookAt(cos(ang)*rad,abs(sin(ang))*10.0, sin(ang)*rad, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
+ gluLookAt(cos(ang)*rad,::abs(sin(ang))*10.0, sin(ang)*rad, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
glEnable(GL_TEXTURE_2D);
glEnable(GL_ALPHA_TEST);
diff -Naur -x '*.o' sdb-1.0.1/src/level.cpp sdb-1.0.1.new/src/level.cpp
--- sdb-1.0.1/src/level.cpp 2005-05-08 01:15:31.000000000 +0400
+++ sdb-1.0.1.new/src/level.cpp 2005-06-08 16:08:09.000000000 +0400
@@ -24,6 +24,7 @@
*/
#include "sdb.h"
+ #include <cmath>
string fetchLevelName(char *file)
{
diff -Naur -x '*.o' sdb-1.0.1/src/sdb.h sdb-1.0.1.new/src/sdb.h
--- sdb-1.0.1/src/sdb.h 2005-05-25 01:32:21.000000000 +0400
+++ sdb-1.0.1.new/src/sdb.h 2005-06-08 16:12:14.000000000 +0400
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <stdarg.h>
+#include <math.h>
#include <string.h>
#include <vector>
#include <fstream>
EOF
>> (I really wish I had an account...I tried signing up with two different email addresses,
>> and both times didn't get an activation email...So now I have two inactive accounts...
>> who do I talk to about this?)
I haven't active account too :)
It builds fine for me, but when I run it, the screen is black - it responds to input and the sound works though... Could be because I have a rather old graphics card, maybe? (Geforce 2 Ultra)
I've patched the source to save settings in the home directory (~/.sdb/) and look for data in /usr/share/sdb/, and built Ubuntu Hoary packages, available at http://www.ubuntuforums.org/showthread.php?t=40012 - If other Ubuntu users could test it and see if they experience the same problems, at least I'd know if it was my fault somehow...
My patches are just quick hacks to get those aforementioned abilities in, I really don't suggest they're adopted, if that was even thought of - This game would benefit from autotools :)
Nice work with the Ubuntu packages, but I agree that SDB needs an autotools installation. I don't know how autoconf/automake work, otherwise I would have used them. If you (or anyone else) would like to a) send me information on tutorials, etc. or b) create a build that uses autotools, by all means, go ahead. Hopefully we can get them into 1.1, and once we have a "standard" install, I'll probably make a Gentoo ebuild as well.
-matt (developer)
All I've done is replace all the lines that use CONFIG_FILE with lines that concatenate getenv ("HOME"), "/.sdb/" and CONFIG_FILE, using snprintf. Same goes with PLAYER_DATA_FILE.
I've not done it in a particularly nice way though, I just wanted a quick solution - The method is sound and all, but the code is messy and bodged in, with no regard to its surroundings
Same problem for me, with the compiled version as well as with the ubuntu package (installed on a debian unstable).
The output is:
Shotgun Debugger 1.0.1 Built Jun 9 2005 23:50:39 by Matt Sarnoff Started Thu Jun 9 23:51:45 2005 Initializing SDL...ok Setting video mode 1024x768x32...ok Using (null) (null) (null) Initializing OpenGL...ok Loading sprites...ok (loaded 75) Loading models...ok (loaded 14) Initialization complete Shutting down...ok End programI suppose that "Using (null) (null) (null)" means that no correct GL backend has been found ? maybe bad libraries ? it should be:
printf("ok\n Using %s %s %s\n", glGetString(GL_VENDOR), glGetString(GL_RENDERER), glGetString(GL_VERSION));Anyway, played a little on a windows computer, and works well. Quite fun, quite well realized, just difficult to understand what kills you and waht does not... but 5 stars for sure :)
$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.3 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, GLX_ARB_multisample, GLX_NV_float_buffer client glx vendor string: NVIDIA Corporation client glx version string: 1.3 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_NV_float_buffer GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce FX 5700/AGP/SSE2/3DNOW! OpenGL version string: 1.5.3 NVIDIA 71.74 OpenGL extensions: glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tessOpenGL extensions omitted, too large.
¡¡Great game!!
-matt
"Also, I've released the level SVG source files for those of you who want to experiment with level design."
Although I would prefer to have them in the source package that is a good step already.
/me hugs matt
:)Ok ..... done
Please test this patch which brings autotools niceness to sdb ;).
I sent it to sdb's devs already but I am sure a more experienced autotools hacker will find something to let it shine even more.
Btw: My personal wish for 1.0.3: An ingame gamma setting
Please hit me with a cluestick and tell me how to play this game!
Started Sat Jun 11 16:00:43 2005 Initializing SDL...ok Initializing sound...ok Setting video mode 1280x800x16...ok Using Tungsten Graphics, Inc. Mesa DRI R200 20041207 AGP 4x x86/MMX/SSE2 TCL 1.3 Mesa 6.3 Initializing OpenGL...ok Loading sprites...ok (loaded 75) Loading models...ok (loaded 14) Loading sounds...ok (loaded 41) Loading music...ok (loaded 3) Initialization complete Loading objects Start Fatal signal: Segmentation Fault (SDL Parachute Deployed) Vertex3f: 2 Normal3f: 1
Put some arrows, give some hints, do anyuthing you want but make that goddammed level easier.
-matt
Right, now my only critisism is that the game is WAY too short (seeing as I've just completed it after less than 4 days). Need more levels!
-matt
TIP: Stick dangerously close to the walls. Close enough to put max distance between you and your enemies, but not touching (because you'll die). Also a good idea to memorize enemy locations (they don't randomly spawn you know). With this in mind, you'll be able to fully enjoy the "close calls".
-Gregory Peng