SFcave is a game where the player controls a ribbon to avoid hitting walls.
You have only one control: when you hold the mouse button, the ribbon goes up. Otherwise the ribbon goes down.
The game uses OpenGL for drawing two-dimensional frames. This is for portability and to offload CPU.
How to compile
You need GLUT to compile and play this game. Although there seems to be many variants and versions of the GLUT library, many of them should work well with this game.
1. Edit `Makefile'
Choose a LDFLAGS for your environment and comment it out. Usually, you will need to edit lines 1 to 6.
Just type `make' and the executable `glsfcave' should compile. GNU make, BSD make, IRIX's /sbin/make worked.
I checked this game to compile(using GCC) and work on following environments:
· Apple MacOS X 10.5.2(PowerPC) ATI Mobility RADEON 9700
· SGI IRIX 6.5.22(IP32,R5000) CRIME
· Debian(Linux) 4.0r3(i386) NVIDIA GeForce 460 Go
· CentOS(Linux) 4(i386) software rendering(mesa)
This program uses some UNIX-specific code just for window title(basename(3)), and for highscore record(getuid(2), getpwuid(3)) only. So it should be fairly easy to port this program to another platform where OpenGL and GLUT are available.
What's New in This Release:
· This release adds sound support with OpenAL
· performance enhancements and minor bugfixes.