PyWeek Warmup - Helicopters
Well, I made a little pyweek warmup this morning, called "Helicopters". I'm having problems with the pyweek-upload.py script, so right now the game is hosted on my webpage. Download it here.
Enjoy the game, and please give me feedback!
(log in to comment)
Comments
pygame.mixer.pre_init(44100) # Added this line pygame.init()Apparently my audio driver doesn't like 22050hz samples, but 44100hz is fine.
(Not sure what that'll do on windows, it may need to detect the OS and set it differently)
Version 1.2 is released! Lots of updates, so check it out! :) Download here
Hmm... my speaker crackles when it's at 44100hz... weird problem :-/
if sys.platform == "linux2": pygame.mixer.pre_init(44100)which fixed it up nicely.
One thing I noticed about this version (don't recall if it happened in the old one) is that I several times saw explosions half way into the left side of the screen, as if a bomb had been dropped slightly out of frame. You may want to check that the bomb-dropping code doesn't drop bombs unless they're on the screen (preferably with a buffer zone, say 10 pixels from the edge)
Popcorn on 2008/03/02 17:17:
Nice little game. I'm getting some static though. It seems to happen when several sounds are played at once. I'm using pygame 1.7.1release on Ubuntu 7.10.