Kaolin Fire with GUD Issues 0 through 5

kaolin fire presents :: software :: Detritus

(a 3d-ish FPS-ish take on asteroids)

Detritus OpenGL

Detritus is a fast-paced shoot-em-up strongly based on the old classic Asteroids. Replenish your shield with power-ups and gain new weapons. "Cleaners" appear periodically, so watch out! The keyboard controls should be self-explanatory.

Binaries have been compiled for Windows and OS X, but the code is cross-platform via OpenGL, OpenAL, and SDL, and I've tried to make a nice bundle/Makefile for linux.

Download Current

Here's a silly video I made of the game so you can get a feel for it before downloading (or while downloading):

"Let's Play" Detritus - Shoot Asteroids, Get... by kaolinfire


Wouldn't it be nifty to have a real quote here?—me


  • 1.0.6 - remembered to commit modernizing os x compilation tweaks and pushed to github, not really a patch-level updated but whatever, I'm feeling my mortality - 2017-12-26
  • 1.0.5 - improved visibility and effects, a few minor logic bugs fixed, high scores now save in user directories, OS-specific "quit now" keys implemented - 2008-05-03
  • 1.0.4 - made a few compilation warnings go away and bundled for linux (removed some windows-specific code from GLTexture) - 2008-04-14
  • 1.0.3 - enemy bullets are now actually removed from collision detection after they "fade away" (they had just been removed at end-of-level--oops!); bug fixed in ship collision detection (had been only detecting "point" of ship, essentially). - 2008-04-11
  • 1.0.2 - stopped runtimecompressing the executable as that caused it to fail on some machines - 2008-04-10
  • 1.0.1 - lightened asteroid texture, added a second light, made lights better - 2008-04-08
  • 1.0.0 - initial public release - 2008-04-08

This code owes a lot to other people

  • Sound effects made with, variously, a microphone, sfxr, and audacity
  • 2D graphics made with photoshop
  • 3D graphics made with DAZ|Hexagon and adjusted with DAZ|Carrara
  • .3ds format imported thanks to Matthew Fairfax
  • Graphics rendered with OpenGL
  • Sound rendered with OpenAL (LGPL)
  • Game developed with SDL libraries (LGPL) - SDL_TTF, SDL_Image
  • Font: MaxFont by Max Stockinger + Kaolin Fire
  • Font routines provided by Bob Pendleton (LGPL)
  • Source code edited in Dev-C++ (wxDev-C++) and vim
  • Windows installer created with NSIS
  • Windows executable compiled with mingw/gcc
  • High scores saved with SQLite (PD)


This game and code are released under Creative Commons Attribution-Noncommercial 3.0 United States License and under BSD 3-clause, take your pick....