pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Insectoid!

Insectoid! - 0.4

Jaroslav (dweller)

Tags:

Description

Insectoid! is my first attepmt to create a game in python 2.5, using pygame. That means code is messy, bad structured, not optimalized and I strongly discourage from using it to learn something about programming. The game is not finished yet, but I am driven by recognition, so if you like the game, sent me a mail and the chance for new version will be greater! Also all kinds of comments are welcomed Controls: arrow keys for moving, left ctrl or right ctrl for fire.

Links

Home Page: http://dweller.php5.sk/index.php?page=stuff
Source: http://dweller.php5.sk/files/insectoid_src.zip
Windows: http://dweller.php5.sk/files/insectoid.zip

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

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

July 30, 2008 4:20pm - Jaroslav - nickname: (dweller)
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 "insectoid.py", line 35, in ?
from explosions import *
File "explosions.py", 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.

self.effect_field.add(Effect(10,10))
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.
Sorry.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Feb 12, 2012

Feb 11, 2012


Feb 10, 2012


Feb 9, 2012


Feb 7, 2012

Feb 5, 2012


Feb 4, 2012

Feb 3, 2012

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