pyCave Code
Status: Beta
Brought to you by:
bigmonachus
| File | Date | Author | Commit |
|---|---|---|---|
| src | 2010-08-12 | bigmonachus | [r59] Fix screen glitter [windows] |
| win32 | 2009-03-08 | bigmonachus | [r32] Mods for windows compat. |
| .project | 2008-07-28 | bigmonachus | [r18] Lights are point-lights and not directional on ... |
| .pydevproject | 2010-08-12 | bigmonachus | [r59] Fix screen glitter [windows] |
| AUTHORS | 2009-03-08 | bigmonachus | [r29] It's a wrap! First beta |
| COPYING | 2008-05-22 | bigmonachus | [r1] First commit |
| README | 2009-10-09 | bigmonachus | [r54] Fixed memory problems in Mac |
| TODO | 2009-10-09 | bigmonachus | [r56] Made it harder, removed default highscores |
| make_cext | 2009-10-08 | bigmonachus | [r53] Added build script for C extension |
| options.txt | 2009-10-09 | bigmonachus | [r55] Made tunnel smaller. Fixed default highscores |
| pycave | 2009-03-08 | bigmonachus | [r29] It's a wrap! First beta |
pyCave is a clone of the game SFCave for the palm pilot.
To run, you will need to meet the following dependencies:
Python >=2.5
PyGame >=1.8
Run the script to build the C extension
$>./make_cext
It is not necessary, but startup time is criminal without it.
Then you can run the game.
$>./pycave
About:
I tried to keep it close to the original. The shadows are
a completely unnecessary addition, but they look cool. They
are also a good example of PyOpenGL doing something non-trivial.
If you stay alive long enough, you will enter hardcore mode;
Then you probably won't survive to see the end of the tunnel.
You might tell that the art leaves a lot to be desired. If you
are willing to make a better model of the ship,
(and get it working with my rudimentary .obj and/or .tga loaders), I will
replace my model. Otherwise, I will eventually make a better model with
decent textures.
The game has been tested on:
Ubuntu 8.10 x64 with Nvidia 8 series
Windows Vista x64 with Nvidia 8 series
MacOs 10.5 laptop with integrated Intel GMA x3100 (Only works on Python 2.6 atm...)
Windows XP laptop with integrated Intel (model?)
I hope you enjoy the game!
============================================================
Building a fresh checkout
============================================================
If you checked out a fresh version from SVN, you need SWIG to
create the extension.
Go to src/ and do:
$> swig -python cext.i
Uncompress PyOpenGL.tar.gz into src/ so
that pyCave has a local, tested, version of the OpenGL module.
If you're having graphics problems after that, then it's a bug ;)