pygame is
Simple DirectMedia Layer is
Site Swing
SampleMan 3: Asteroids

SampleMan 3: Asteroids - 1.1

Vitaliy Kudasov (kuviman)



not like classical Asteroids game should work with Python 2.5


- fixed: now killing two or more asteroids at a time is really better than one - fixed: i had a float division error when mouse was on player's center - changed menu: added highscore table, sound control, "settings" submenu - highscore table is displayed after death, and can be closed only after some time - settings are now saved in a file - added FPS label, if your FPS is below 24, it is recommended to turn off clouds - as an experiment: a little part of the code moved to C++ - added floating text when you gain score killing an asteroid


Home Page:


click to view original size


SampleMan 3: Asteroids - 1.1 - Jan 8, 2011
SampleMan 3: Asteroids - 1.0 - Jan 6, 2011 account Comments

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

January 8, 2011 2:51pm - valtteri puurtinen - nickname: (valtsu)
thanks for help. i'll see if that works.

Sorry for renaming your game. I did it becuse I wanted to shorten the name. As i launch it from command line its faster to type. dont worry about it.
January 8, 2011 1:54pm - Vitaliy Kudasov - nickname: (kuviman)
i'm working with Windows, so i don't know the solution, but as i googled..

try setting MALLOC_CHECK_ to zero as described here:

and, is another project, not this one :)
January 8, 2011 1:33pm - valtteri puurtinen - nickname: (valtsu)
the intro works but then it crashes on ubuntu 10.04. I've had similiar problems with other python programs. Am I missing a package or what? What should i do?

when starting from console it prints out:
ringo@ringo-desktop:~/SampleMan2$ python
*** glibc detected *** python: free(): invalid next size (normal): 0x08bc1d78 ***
======= Backtrace: =========
...list of some files
======= Memory map: ========
...list of programs
January 8, 2011 11:53am - Vitaliy Kudasov - nickname: (kuviman)
check this out :) please tell me if you see "Python clouds" if right bottom
January 7, 2011 5:38pm - Vitaliy Kudasov - nickname: (kuviman)
ok, i'll add hiscore table after death and volume control soon :)
i'm only studying to make games, i don't know about any license.. :) Do you want to use it somehow?
January 7, 2011 3:15pm - Robert Leachman - nickname: (quazar)
I was trigger happy and not very accurate :) doing better now, thanks for the tip. Suggestions: give us volume controls for sound effects and most importantly music, and/or wrap the load of music.mp3 in a try/except so we can just rename it to turn off the deedle deedle eedle and leave the blamo, if you see what I mean ha ha. Also IMHO should throw a "you are dead" modeless dialog (or maybe a highscore table?)... anything just so death doesn't result in dying plus also bad clicks on the main menu, if that makes sense? This is a cool game, what license are you releasing it under?
January 7, 2011 8:51am - Oscar Triano - nickname: (teritriano)
A game well made :). My highscore is 887, for the moment...
January 7, 2011 12:20am - Vitaliy Kudasov - nickname: (kuviman)
i dont think it is hard really =)
try not to shoot very often, there will be less asteroids. or shoot with SPACE.
my highscore is above 5000 =)
maybe you just have to get used to the game.
January 6, 2011 8:22pm - Robert Leachman - nickname: (quazar)
Works for me on OS X, very nice, but man... what's your highscore? I survived for 2 seconds once and got 300. Is it supposed to be blazingly hard?

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
May 29, 2016

May 27, 2016

May 21, 2016

May 18, 2016

May 1, 2016

Mar 27, 2016

Mar 26, 2016

Mar 22, 2016

Mar 19, 2016

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