Shotgun Debugger Screenshot 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:
yesyesnononoyesyes
Suggest an update

Comments

I get a 404 when I try to download the game.
Re: Where's the tar.gz posted by kshade on Jun 7 2005 1:48 AM
http://sdb.gamecreation.org/
Segmentation fault (core dumped)
Excellent game! I love it, very different. Reminds me a little of Machine Hunter. Fun gameplay, good graphics, good replay value. Compiled no problem on Slackware 10 apart from not being able to find -lGLU but that's at /usr/X11R6/lib on my computer so I added it to the makefile.

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 engine and content is quite impressive but the game seriously needs to treat the player better. Random trial and error to find out what things kill you and even just how to proceed isn't fun. Maybe some big flashing arrows in the first stage and far fewer touch damage fields throughout, for starters. In general if something is going to hurt the player it should be very, very obvious (the kamikaze enemies could flash before exploding, for instance). Also, I once got knocked into a room with no exits by an enemy explosion.

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.

Re: Shotgun Debugger posted by anonymous on Jun 8 2005 8:02 PM
Hahaha, I had the same complaint when it was still early in development (this is Jeff, Matt :p)

The game is very impressive, but yeah I also wish there were independent movement and aiming controls as well.

This is Matt (the developer)--thanks for the positive response. I'll look into the segfault and compilation errors a couple of you have been having and will try to get a new version ready in about a week.

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.

./compile.sh g++ -c bitmapfont.cpp -o bitmapfont.o `sdl-config --cflags` -O2 In file included from bitmapfont.h:29, from bitmapfont.cpp:26: sdb.h: In member function `float Vector2D::mag()': sdb.h:376: error: `sqrt' undeclared (first use this function) sdb.h:376: error: (Each undeclared identifier is reported only once for each function it appears in.)

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.

Re: Shotgun Debugger posted by anonymous on Jun 8 2005 2:29 AM
I've got the same error but i'm not a programmer and I dont know what string to add, can you help me ?
Re: Shotgun Debugger posted by anonymous on Jun 8 2005 2:59 AM
ok , i've found
#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
Re: Shotgun Debugger posted by anonymous on Jun 8 2005 5:40 AM
cat following text into binary file & run from program directory

#!/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
Re: Shotgun Debugger posted by anonymous on Jun 8 2005 9:33 AM
Thanks for fixing those issues, but the patch isn't working for me. I pasted that text into emacs and ran it, but I got

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?)
Re: Shotgun Debugger posted by anonymous on Jun 9 2005 1:41 AM
oops, I've forgotten about HTML tags, that's correct version

#!/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 :)
Re: Shotgun Debugger posted by vanilla on Jun 10 2005 1:29 PM
sdb.h, string 36: i just put #include . Game is great!!
Re: Shotgun Debugger posted by vanilla on Jun 10 2005 1:35 PM
damn, #include < cmath >

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 :)

Re: Compiles fine, but blank screen posted by anonymous on Jun 8 2005 9:19 AM
I tried to e-mail you about your patches but my message bounced. I'm very interested in them (I actually wanted to put the config file in ~/.sdb/ but never got around to it)--could you mail me your contributions?

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)
Re: Compiles fine, but blank screen posted by Cwiiis on Jun 9 2005 3:31 PM
As mentioned in the forum post, the debian directory is available on my webspace at http://chrislord.net/stuff - The patch is included there (debian/settings-path.patch).
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
Re: Compiles fine, but blank screen posted by Cwiiis on Jun 9 2005 3:31 PM
oh, also, thanks for noticing my mail address was broken - fixed now :)
Re: Compiles fine,but blank screen (too) posted by Tof on Jun 9 2005 2:40 PM

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 program

I 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 :)

Re: Compiles fine,but blank screen (too) posted by Cwiiis on Jun 9 2005 3:26 PM
Yes, I get that (null) (null) (null) thing too... I hope whatever causes it gets fixed :) I'd look at the source myself, but I know nothing of OpenGL and don't fancy learning it (just yet)... That and C++ sucks :)
Re: Compiles fine,but blank screen (too) posted by anonymous on Jun 10 2005 5:42 PM
Ubuntu, i also get black screen (sounds and keys works), i also get (null)(null)(null) thing .. please fix this, the game looks awsome ;)
Re: Compiles fine, but blank screen posted by anonymous on Jun 11 2005 2:34 AM
Same problem here too, with debian and geforce 5700

$ 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_tess

OpenGL extensions omitted, too large.

Re: Compiles fine, but blank screen posted by anonymous on Jun 17 2005 2:34 PM
I had the same problem on Debian, i installed the nvidia-glx-dev package, and now it works. get yours at http://people.debian.org/~rdonald/nvidia/unstable/i386/ if you don't use the latest nvidia-package.
Re: Compiles fine, but blank screen posted by anonymous on Jun 21 2005 7:18 AM
Thanks, now work.

¡¡Great game!!

It might be a while before it shows up on the site, but Version 1.0.2 has been released. (sdb.gamecreation.org) It now compiles properly with GCC 3.4.x. The black screen/OpenGL errors will be fixed in the next release, hopefully to come in the next few days.

-matt
Re: Version 1.0.2 posted by TheBohemian on Jun 10 2005 3:17 PM

"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

:)
I've now properly played the game (I'm on level 4) and it's really fantastic. I love the gameplay and the weapons and it's bloody hard to get past some parts. Should keep me going for a while. Has a kind of half life feel to it apart from not as dark.
High presentation values, but damn, is it hard. I have to restart levels about a zillion times. Or maybe I'm just rubbish.

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

Start game...run away...get cought...20 seconds. Pressing fire doesn't do anything, so I guess at the start of the game I have no gun. Can't seem to figure out if any of the objects except for the doors do anything. (Then again, I don't get very far.)

Please hit me with a cluestick and tell me how to play this game!

Re: I don't get it... posted by James Gregory on Jun 11 2005 3:24 AM
The objective of the first level is to reach the end of the level without being caught. You just have to run.
Re: I don't get it... posted by anonymous on Jun 11 2005 6:16 AM
I guess I'm a moron. Tried it 10x, couldn't do it. Got fried on doors or caught each time.
Re: I don't get it... posted by James Gregory on Jun 11 2005 9:16 AM
10 times isn't enough. It took me more like 20. It doesn't really get any easier in the next level, either.
At first it crashed with an OpenGL error, since I had problems with texture larger than 512 pixels (either width or height) which appeared only white in other games (trigger) with DRI on Radeon 9200, I resized all large png textures to 512 pixels with The Gimp, then it worked a bit longer but now crashes at the very end of the intro :

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

The music is great, feel is great, BUT i really got FED UP AND PISSED by the first level. Running around getting killed ten times is NO FUN and if you think this is a fun game, change your mind and go quickly to improve that pain in the ass level.

Put some arrows, give some hints, do anyuthing you want but make that goddammed level easier.

Re: It pissed me off posted by anonymous on Jun 11 2005 9:28 AM
Yes, the first level can be rather frustrating. We'll find ways to make it easier--probably by reducing the number of agents, or making them run more slowly. Until we do, I guess you'll just have to keep running like hell. :-P

-matt
Re: It pissed me off posted by komakino on Jun 11 2005 3:11 PM
No!!! Don't make it easier! It only took me about 5 gos to work it out! It's not that hard! If you're not getting where to go after about a dozen tries then you've got issues!
Re: It pissed me off posted by anonymous on Jun 12 2005 10:55 AM
OK, how the hell do I finish "Core Dump"? I've flicked all three override switches but when I flick the big one it just explodes with no chance of escape!!
Re: It pissed me off posted by komakino on Jun 12 2005 12:21 PM
OK solved that.

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!

Re: It pissed me off posted by anonymous on Jun 13 2005 10:08 AM
Yes, the game is short, but I think networked multiplayer is on the horizon...

-matt
Re: It pissed me off posted by anonymous on Jun 13 2005 11:42 PM
Core Dump is a bitch. I'm just proud to have made it this far. Good job on the game. DON'T make it easier. The difficulty level is what makes it so damn addictive.
Re: It pissed me off posted by anonymous on Jul 1 2005 3:34 PM
As lvl one designer, I guess am to accept all blame. Yeah, maybe it's a good idea to introduce people into SDB in a easier, more gentle approach. But still, it only gets harder from here...

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

Re: It pissed me off posted by anonymous on Dec 11 2007 5:11 AM
Or use the old strafe+forward trick. Vector addition for the win!
Very good, this game. I am impressed.

The graphics are simple, yet with enough detail and well-done to be attractive. It's schematic aspect actually adds to the game. The gameplay is good -- it just takes some time to get used to the way it works --, and it is also very balanced. I feel that you deal as much damage as you can take -- it's not like thise games where the player is an indestructible killing machine, and the enemies ugly wimps. Here, a shot does damage, the obstacles you his can be mortal, etc.

Definitely, I like it. I need to play it more, but I doubt that will change my rating. Very good, and very finished it seems.

Just one detail -- by pushing things you can break through walls. That should be taken care of -- we players may be temptated to exploit it. ;o)
Awesome game. Graphics, music, and idea are all great.
Good game. I nearly kill me at the first level, finally I found out a path aside the car---- 囧

Log in or register to rate this game or post a comment.