pygame is
Simple DirectMedia Layer is
Site Swing

Insectoid! - 0.5

Jaroslav Pekar (nightblair)



Insectoid! is my first attempt to create a game in python 2.5, using pygame. I strongly discourage from using the code to learn something about programming. The game is in messy beta state. And I probably won't finish it. Controls: arrow keys for moving, left ctrl or right ctrl for fire.


Sound and new font are new to v0.5


Home Page:


click to view original size


Insectoid! - 0.5 - Feb 6, 2010
Insectoid! - 0.4 - Jul 27, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

July 30, 2008 4:20pm - Jaroslav Pekar - nickname: (nightblair)
Thank you for your comment! :)
It was coded in Python 2.5, so I presume the problem will be there. I do not know, what will work in 2.4 and what not, becouse I just know only 2.5.
No need to apologize, I am aware of the horrible code, as i wrote in the description. I'll try to improve it in the next project (I hope it will be any ;) )
July 29, 2008 11:53pm - Jordan Trudgett - nickname: (tgfcoder) - 1/5
There were a few problems on my machine:

Traceback (most recent call last):
File "", line 35, in ?
from explosions import *
File "", line 17
class Effect():
SyntaxError: invalid syntax

() cannot be there in Python 2.4. Changing all class X(): to class X:,

text = self.font2.render(menuapp[1], 0, (5, 5, 210))
pygame.error: SDL_ttf render failed

Without anti-aliasing, my text renders fail for some reason. I changed them all to 1.

TypeError: __init__() takes exactly 4 arguments (3 given)

I can't explain this. I just passed in 20 for the fourth argument. But shooting was broken.

The graphics looks promising, but the code is horrible.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Jun 24, 2015

Jun 23, 2015

Jun 21, 2015

Jun 17, 2015

Jun 14, 2015

Jun 8, 2015

Jun 7, 2015

May 31, 2015

May 28, 2015

May 18, 2015

May 7, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)