Wednesday, August 31, 2005


burgerspace BurgerTime is the first game I play on PC at 1985. Is originally written on a coin machine then ported to PC.

BurgerSpace is clone of BurgerTime, and is open source, many classic game have clones.

BurgerSpace is base on

1. SDL (SDL, image, mixer), game library
2. flatzebra, double frame buffer library
3. OpenGL, a standard 2D 3D graphic library

I don't think I can get it compile on Solaris system because the missing OpenGL library. Since I have a working version of critical mass on OS X, may be I can get BurgerSpace work on OS X too, even though is not stated at the website.

Since today is a holiday, may be I can get it a try, while watching the DVD movie-- Jackal.

I make use of fink to download the 3 SDL libraries (SDL, image, mixer), getting it compile is so easy, but seems like quite slow on my ibook, should get a faster machine (eg. 1.2GHz) to get the compilation work done.

SDL is a great game library, portable to multiple platform eg. windows, Linux, Solaris, OS X. I am not familiar with it, will take if I have more free time, anyway I don't write games.

The fink install the libraries in /sw directory. I can't get flatzebra package from fink, so I compile from the source code, manually. I have some problem while compiling flatzebra, the compilation script is able to detect the SDL libraries, but didn't add the SDL_image, SDL_mixer libraries in the Makefile, I didn't change the compilation script but add in the missing libraries in the Makefile manually.

-lSDL_image -lSDL_mixer

I install my flatzebra in /usr directory.

There is only one problem with compiling SpaceBurger, can't find the OpenGL library. MacOS X should came with OpenGL library, after I search through the website, finally I found, still the compilation script.

I change
-framework Cocoa OpenGL
-framework Cocoa -framework OpenGL

That's easy.

BurgerSpace is a good clone instead, is almost like the old game, except for the contact distance of cooker (player) and sausage (and others) should be adjusted.

I get it working on my OS X after I have finish the movie. Wow! It take me four and half hour to finish the 2 hours DVD, because some times I pause and continue while doing the compilation. Spend all day (afternoon) compiling open source program, don't make it any different on other days.

PS. unable to upload pictures today.

No comments: