Notices


Reply
Thread Tools
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:
Posts: 18 | Thanked: 9 times | Joined on Apr 2008
#2
I like it. Simple but pretty fun! Although, if you make another version, consider making the text a bit bigger. Currently its so small I can't really see it while I'm playing the game.
 
Posts: 362 | Thanked: 145 times | Joined on Jan 2008 @ Sydney, Australia
#3
sweet. I loved this game when I had my Palm(s). - will try it out
 
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#4
I made a little update with a bigger font : 10x20 vs 8x8 ; texts should be easier to read now :-)
EDIT : Another little update. Nothing remarkable ; something just bugged me : the font file (10240 bytes) was smaller than expected (10*20*256/8 = 6400 or (10*20=200 and 256*256/8 = 8192) or (16*24*256/8 = 12288 - bigger ?!)). Instead of just reading 6400 byte, it now reads 10240b, so we can be nearly sure it misses nothing.

Last edited by Yann Benigot; 2010-10-16 at 22:28.
 

The Following User Says Thank You to Yann Benigot For This Useful Post:
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#5
Another little update : now using 16bpp mode, which is a lot faster on this device...
 
ZogG's Avatar
Posts: 1,389 | Thanked: 1,857 times | Joined on Feb 2010 @ Israel
#6
i would appreciate if you upload this to repos , thank you
 
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#7
It's already uploaded to extras-devel :-)
 
Posts: 120 | Thanked: 57 times | Joined on Jan 2010
#8
Good one...I am now spending lot of time on this...Not able to score above 1200

Sometimes it crashes in between...anyone observed this problem?
 
Posts: 362 | Thanked: 145 times | Joined on Jan 2008 @ Sydney, Australia
#9
Originally Posted by yogi900 View Post
Good one...I am now spending lot of time on this...Not able to score above 1200

Sometimes it crashes in between...anyone observed this problem?
Yeah, crashes a few times for me too - happened when I got a new high score. Oh, 1225 is my best.

EDIT: just crashed again after a new high score (but saved the score).

Last edited by nikolajhendel; 2011-01-26 at 10:29.
 
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#10
I made 1560 a long time ago :-)
I experience sometime the same bug. It seems that it tends to happen more when there is a little load on the CPU. It happens much less with the last version, but I should take a look when I have more time. Something to do with frameskipping, making the menu not to display at the end of a game.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:09.