Space Rescue! by schnerble
Shoot turrets, and rescue spacemen! Alternatively, shoot spacemen and rescue turrets, but score much fewer points.
Fly into the asteroid space station (use your imagination! :) ), shooting turrets out while dodging bullets, and rescue the waiting spacemen.
As with most time-limited projects, this was much less extensive than I originally intended, but it still turned out to be pretty fun :)
--------------------------------------
LINUX USERS: it may not work for you first time :( If you get this error:
"Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so"
Please just delete the "libasound.so.2" in the spacerescue directory, and it should find the one on your system, which should work fine.
If you double-clicked the icon and got no error, please try running in a terminal to check for the above message. Please also let me know if something different goes wrong, and I'll see what I can do.
Sorry about the hassle!
--------------------------------------
WINDOWS USERS: '#' to reset the ship may not work for you, depending on your keyboard layout. This seems to be a pygame bug :( (it's saying the key is backslash, which I never spotted) Sorry about that. Unfortunately I can't see a workaround without making a new version.
Fly into the asteroid space station (use your imagination! :) ), shooting turrets out while dodging bullets, and rescue the waiting spacemen.
As with most time-limited projects, this was much less extensive than I originally intended, but it still turned out to be pretty fun :)
--------------------------------------
LINUX USERS: it may not work for you first time :( If you get this error:
"Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so"
Please just delete the "libasound.so.2" in the spacerescue directory, and it should find the one on your system, which should work fine.
If you double-clicked the icon and got no error, please try running in a terminal to check for the above message. Please also let me know if something different goes wrong, and I'll see what I can do.
Sorry about the hassle!
--------------------------------------
WINDOWS USERS: '#' to reset the ship may not work for you, depending on your keyboard layout. This seems to be a pygame bug :( (it's saying the key is backslash, which I never spotted) Sorry about that. Unfortunately I can't see a workaround without making a new version.
Ratings
| Coolness | 71% | 3 |
| Overall | 2.63 | 657 |
| Audio | 2.68 | 351 |
| Fun | 2.63 | 540 |
| Graphics | 2.60 | 585 |
| Humor | 1.77 | 662 |
| Innovation | 2.40 | 680 |
| Mood | 2.07 | 771 |
| Theme | 2.62 | 621 |
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
Traceback (most recent call last):
File "<string>", line 27, in <module>
File "/home/chris/bin/pyinstaller-1.5.1/iu.py", line 436, in importHook
File "/home/chris/bin/pyinstaller-1.5.1/iu.py", line 521, in doimport
File "/home/chris/src/spacerescue/build/pyi.linux2/spacerescue/outPYZ1.pyz/entity", line 374, in <module>
File "/home/chris/src/spacerescue/build/pyi.linux2/spacerescue/outPYZ1.pyz/entity", line 381, in TurretEntity
File "/home/chris/src/spacerescue/build/pyi.linux2/spacerescue/outPYZ1.pyz/entity", line 269, in getSound
pygame.error: mixer system not initialized
Is there some way to run the game from source? What are the dependencies?
Pretty solid effort, well done.
Could you try downloading libasound.so.2 from the link below and putting it in the spacerescue folder on top of the existing one? I hacked the path, and it seems to fix the problem on my other machine. (Ubuntu 10.04) I just hex-modified the path to where the library should really be.
http://dl.dropbox.com/u/478847/libasound.so.2
Running from source might work too, but would take a bit of fiddling, and you'd probably need to install pygame on your machine. Hopefully that download will work and be much easier.
Thanks for trying it!
Thanks for playing!
rfgpfeiffer: I used pyinstaller to create the binaries on both Windows and Linux - it's great, other than that one library problem above. You'll need a Linux install to build the binaries, but it's pretty easy - Ubuntu and Kubuntu are easy to install (only need 30-40 GB too), and once you've got your game running in Python, then pyinstaller can do the rest.
Pyinstaller is the way forward, I reckon - though removing libasound.so.2 seems necessary, as above.
As for the game: It's fun, but the controls make it just a bit too hard in my opinion. Making the spaceship accelerate less when I push a button would be one option to fix this. The other way would be use the Asteroids control scheme, i.e. just acceleration and turn. This would get rid of having to coordinate 9 buttons and allow to maneuver at more than 9 angles.
Having camera that follows the spaceship when not in the planet or being bounced back when leaving the screen also would have been nice. In my first three attempts I accelerated too much and went of the screen unable to ever come back.
TL;DR: Simple and effective gameplay, but lacks in execution.
For anyone else subsequently playing: I'm on holidays for a few days but will check out what's been happening when I get back.
RHY3756547: thanks; and yes, those are good ideas. I wanted to do something very similar with the camera zooming or arrows, but ran out of time - and just left the player coords in there as it helped a little.
All: I found the bug with '#' not working - it seems to be dependent on Windows keyboard layout. Sorry about the hassle there; can't fix without a rebuild unfortunately :(
If you get a chance to try tthem, one of the following things might work:
- Installing the python-pygame package
- Set SDL_VIDEODRIVER to something different and run the game - e.g.:
SDL_VIDEODRIVER=dga ./spacerescue
Possible values are here:
http://www.libsdl.org/docs/html/sdlenvvars.html
+ over-responsive controls that work really well once you figure them out (controlling the ship is a game its own, not an obstacle)
+ you added a working menu and credits
+ made in python
- needs more than 1 level
- you shouldn't get out of the play area
oh, and yeah, as Truce said, this is A BIT like Robotron...
The '#' key bug is really a game killer. Out of curiosity, Why did you choose such an exotic key?
Using '#' was a silly choice as it turned out; I know it's in a different place on different keyboards. I'd just put the reset in as a debug feature, intending to have the "camera" zoom out so it eventually wouldn't be necessary, but ran out of time, so left the reset key there. In hindsight I should've moved it to any simpler key like Enter, or whatever. Next time...
For some reason I could never pick up the last spaceman on board. I shot all the turrets away and then tried to rescue the spacemen. But the last one just wouldn't hop in and I always had to shoot him to finish the level. Or maybe that was intentional...