View Single Post
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#1
Some years ago, when I was still using a Palm to browse the web from my bed, I used to play an addictive little game called SFCave, where we were controling a line threw an infinite cave.
The cave would get smaller and smaller while the line would go faster and faster. The line was continuously falling ; but we could however make it move up by touching the screen.

I made an SDL clone of this game, thanks to SDL_gfx. It's still pretty basic : no obstacles, no advanced hiscores, all lines of the cave are 0.2*height-of-screen long, but it works. The source code is also as horrible as this remark lets you imagine...

Controls : touch the screen to start a game, then touch it to make the line go upward. When finished, you can also use the keyboard with r to restart and q to quit in addition to the buttons on the touchscreen.



Package file : http://yannbng.free.fr/sdlcave_0.1-5_armel.deb
Source code : http://yannbng.free.fr/sdlcave_0.1-5.tar.gz

Last edited by Yann Benigot; 2011-01-16 at 18:07.
 

The Following 8 Users Say Thank You to Yann Benigot For This Useful Post: