A shoot the asteroids game built with ClanLib and OpenGLAsteroid Arena is a simple Asteroids clone that uses OpenGL and the ClanLib programming library. It features pretty graphics, somewhat-realistic particle interactions, powerups, UFO opponents and many other things. The object is to simply shoot asteroids and UFOs for points. Once you've cleared all the asteroids in a level, you move on. The asteroids grow more numerous and the asteroid fragments begin to speed up. If you hit something with 75% or more of your shots, you get a special accuracy award.
License: free
Requirements:
- ClanLib
- OpenGL
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | no | no | no | yes | yes |
Submitted by bobz on 2002-07-29.

The graphics are amazing! The control makes it a joy to play. It loads very fast. The cannon fire and the thruster on your ship have to be seen. The animation is fluid. This is a game worth investing time in and getting good at.
When compiling I compiled and installed Clanlib v7 successfully but this game's configure script could not find a main in lclanDisplay.
I fully installed Clanlib v6 from Mandrake CDs and it worked perfect.
However I have to run the program from the src directory I installed it in or it cant find its 'resources'.
I use NVidia drivers (latest), and had a ClanLib problem 'glXGetProcAddressARB undeclared' or undefined, depends on which GL includes you use (XF86 or NVidia's).
You will need to rebuild ClanLib with a simple patch:
in Sources/GL/GLX/displaycard_glx.cpp:
- return glXGetProcAddress(reinterpret_cast(
+ return glXGetProcAddressARB(reinterpret_cast(
That works for me, and no I don't know why Nvidia's GL includes define glXGetProcAddress in such a way, oh well there's the fix peoples :)
Anyhow, about Asteroid Arena - I give it *** stars, because there is no sound support and no joystick support, and the make install is quite broken. It searches $PWD to read the data (and it's hardcoded into src), so you either have to change the source to make it read from someplace else, or just put the binary 'arena' , 'resource.dat', and the cp entire directory 'img' into their own directory (i.e. /usr/local/games/arena).
Hope the info helps, and it looks to have been sometime since the game's been worked on? I hope sound gets added!!!! The graphics are gorgeous =)