Thanks for the comments
Thanks for all the comments you left when you rated the game, I'll try and learn from my mistakes, and do what you suggest next time. About the escape button, I'm not sure how to use that. Flickering, I think that I should have used two pygame.display.flip()'s instead of 100.It worked around a loop, so for one tenth of a second the quit button won't work. Soundd, I never had chance to implement it, fonts, I can make my own, but I don't know how to use fonts in the game. I only had 6 days to do the game, I was away for a day. Also I'm not nearly the best programmer, I'm still learning, at least it's easier than C++! Thanks for the ideas, I'll remember them.(log in to comment)
Comments
Draw stuff first, flip screen later.
Don't do this:
draw_thing1
flip
draw_thing2
flip
Do this instead:
draw_thing1
draw_thing2
flip
This is good enough to prevent flickering, no matter how slow your code or your machine is.
john on 2007/04/23 06:46:
Also I want answer some problems people had:Not quite sure what to say. I got bored after a minute of very easy bullet dodging, so tried to crash into the bullets. Then I won. How did I win? I don't know.
Because when you hit the powerup, then you have to hit all the bullets, origionally, I was hoping you could lose the powerup. But no, I couldn't get it working somehow. Also level 1 is so easy, I worked to build another five levels, with increasing speed, and difficulty, you can get it of pygame.org.