pygame is
Simple DirectMedia Layer is
Site Swing

Spacemax - 7.89

Maxime (spacemax)



Spacemax is a type of space invaders. I do it for my kids. I'm still in developpement and i hope make some improvements. Have a lot of fun with this game. Send me your commentaries and you can be sure i will be interrested by yours remarks.

Try-it! It's free! It's fun!

here the link to see what it looks like


I have removed the possibility for Aliens to avoid ship's missiles I have added a shield around them instead


Home Page:


click to view original size


Spacemax - 7.89 - Aug 2, 2014
Spacemax - 7.88 - Apr 30, 2014
Spacemax - 7.86 - Jul 14, 2013 account Comments

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

February 20, 2014 9:54pm - Maxime - nickname: (spacemax)
Thank you for feed back. I keep them under my pillow. I made a pause for this game because i am writting another game. Be sure, i will follow your ideas.
September 5, 2013 12:44pm - miezebieze - nickname: (mieze) - 5/5
Wow, this is getting better with every update! Here are some suggestions:
Forgive the duplicates - I neither can read the 'todo' file nor the comments.

* Give the player some shields after every death and make the enemies shoot more.
* Give the player a second or so of invincibilty after dying.
* To have the weapon power scale better over time, have it upgrade every wave and make the process slower. Like every 5 points the weapon gets better. The random powerups can still be in game.
* Make the alien bombs blast in a circle. Right now you can just stay away from the bottom border and never get hit by them.
* The small aliens are very easy to take out; just stay still and they will go right in your line of fire. Have them dodge the player until they can get that hit fo'sure. Maybe have another type of them.


July 19, 2011 4:07pm - josmiley / Luke spywoker - nickname: (mutualaccount)
manque juste un fond d'étoiles défilantes et scintillantes ;)
July 19, 2011 4:06pm - josmiley / Luke spywoker - nickname: (mutualaccount)
effectivement, beaucoup d'améliorations depuis le début, tant au niveau du rendu qui s'est fluidifié que des caractéristiques des ennemis, bonus, etc ... bravo.
May 21, 2011 4:51pm - Maxime - nickname: (spacemax)
Salut jo,

Merci pour le retour. Je vais contrôler les gamma des sprites. Pour ce qui est du dev, je suis pas mal pris professionnellement et vu que je suis une "tortue", ca risque de prendre pas de temps !!! Alors j'améliore celui là qui est mon premier jeu car il y a encore beaucoup d'améliorations à apporter pour qu'il soit un vrai shoot them up et qu'on prenne du plaisir à y jouer.
Sinon c'est pas les idées qui manquent...
May 18, 2011 5:20pm - josmiley / Luke spywoker - nickname: (mutualaccount)
certains sprites ont un fond noir qui se voit quand ils "s'overlapent".
sinon, quand est-ce que que tu nous fait une autre jeu ?
March 2, 2011 2:23pm - Zachariah Callaway - nickname: (xzcallaway)
I think I have it now. You can download the new debian at on the arcade page.
March 2, 2011 1:40pm - Zachariah Callaway - nickname: (xzcallaway)
I'll figure something out. I'll redebianize it right now.
March 2, 2011 10:47am - Maxime - nickname: (spacemax)
Thank you for your work to build this package. I just want to say to you there is a bug due to a bad permission on the file hight.txt. In fact, we can't write high score in the file hight.txt, causing the crash of the game when the gamer has lose all his lifes. To prevent this, i have modified the function which write into it but you have to modify the permissions to this file in your package if you can do it.

Thank a lot.
February 26, 2011 8:11pm - Zachariah Callaway - nickname: (xzcallaway)
A .deb package of Space Max is available for download at in the Arcade section.
January 6, 2011 12:15pm - Robert Leachman - nickname: (quazar)
It seems to be a Mac issue, something's wrong with the pygame clock on this platform and I've seen trouble with other Pygame programs too, I am pretty sure that's the cause of my poor frame rate. It's not an issue of CPU power as this is a Core i7. Anyway I tried your game on the same versions of python and pygame from Windows and it runs properly, good job.
January 6, 2011 8:25am - Maxime - nickname: (spacemax)
For Robert,
I have installed python 2.5.5 and pygame associated. I have tested the game and
i haven't saw any difference with the version 3.1.2 of Python. Perhaps, your computer is very old , older than pentium 4 on which i developped this game or perhpas, it's a platform's trouble ? I believe your are on a mac, i don't know this plateform.
January 6, 2011 7:56am - Maxime - nickname: (spacemax)
To respond to Robert, I don't understand very well if this fifteen seconds match with the duration that take a alien's bomb to touch the floor or if it's the duration for the first alien Bom in the game... not easy to explain.
In the two cases, it's not normal. A bomb fall take in the first level around 3 seconds and the alien is usually shooting a bomb in less than 5 seconds.
It's right that i'm using the python 3.1.2 and i don't know it's due to the version 2.5.
January 6, 2011 7:44am - Maxime - nickname: (spacemax)
To respond to Mieze, I'm going to improve the distribution of the power in a futur release in order to be more in adequation with the difficulty of the game. It's right to say that there are not logical to get power along the game now. It's complety randomized.
You remark is taken in queue of ameliorations. Thank for your feed back.
January 6, 2011 12:32am - Robert Leachman - nickname: (quazar)
I see a comment here about Python 3.1.2, I'm on Python 2.5 and I wonder if that accounts for the animation not running so smoothly? How many seconds should it be taking for the first alien bomb to drop down and kill me. It's more than 15 seconds here, weird?
January 5, 2011 10:31pm - miezebieze - nickname: (mieze) - 4/5
Very nice! But the potential is not utilized yet.
The first time I played this, I got many powerups pretty early, but when I played another time, my ship was destroyed by the boss of level six and I didn't get anything! Only some bombs and lives - Not fun!
Perhaps try to give more power-ups but try to fiddle around with the power levels a bit. Like more powerup levels but in smaller steps.
And maybe give the enemies different weapons?

December 25, 2010 6:35am - josmiley / Luke spywoker - nickname: (mutualaccount)
"""Pour le méchant hacker, faudra m'expliquer ..."""

"""Wow scary I almost lost my work! ...
I find that a bit comic and don't trust your competence enough to test for you."""

humour ... ;)
December 23, 2010 8:11pm - Alex Polosky - nickname: (hondros)
I do apologize. Looking at the comments again, I can see that now.
I am currently downloading source code.
And btw, if what is said is true (about the keycode), it is better to use constants
December 23, 2010 2:24pm - Maxime - nickname: (spacemax)
It's better to have a opinion that to follow the commentaries of the others. In fact, i think that the buzz is not righteous but i don't care about it.
I didn't insulted members, just a bit humor which is not understood clearly. So, if somebody here is feel not respected, i apologize to them.
In summary : trying to speak another langage can be a source of trouble...
December 23, 2010 12:21pm - Alex Polosky - nickname: (hondros)
Well, I was going to download this game and try it out because it looks kinda cool.
However, after reading the game's comments, it doesn't seem worth it. It isn't nice to talk down and insult members on here.
It's an easy way to generate a bad name for yourself in the open source community.
I'm still a noob, but I try to be nice to everyone who uses my code online. Because 99/100 times, it's the programmer's fault for using something that isn't cross-platform, or not including documentation. It's not up to the end-user to try to figure out how to use everything.
Good luck with your programming,
December 23, 2010 2:46am - Joonazan - nickname: (joonazan) - 3/5
The game is okay, but it gets boring and the bosses are almost invincible without powerups.
December 21, 2010 5:07am - Maxime - nickname: (spacemax)
Bonjour Josmiley,
Je suis d'accord avec le constat mais le module pygame.key ne gÃre que le mode Qwerty. Si tu as la solution pour gérer les 2 modes, je suis preneur. Peut-être en python mais çà dépasse mes compétences dans ce langage.
Pour le méchant hacker, faudra m'expliquer si j'ai fait ou dit quoi que ce soit qui laisserait à penser que...ou si c'est juste pour chauffer l'ambiance!

December 17, 2010 10:47pm - josmiley / Luke spywoker - nickname: (mutualaccount)
au cas où tu serais un méchant hacker *
non mais c'est bien de faire évoluer ton code, mais faudrait automatiser...genre demander a l'os quel est le type de clavier, ect ...

(*in the event that you'd be a nasty hacker)
December 17, 2010 4:12pm - Robert Leachman - nickname: (quazar)
I find that a bit comic and don't trust your competence enough to test for you.
December 17, 2010 2:07pm - Maxime - nickname: (spacemax)
For Robert and others english people, I added the Querty keyboard feature with code 113 and 97. Bye!
December 16, 2010 4:28pm - Robert Leachman - nickname: (quazar)
The Q key it generates event.key == 113 on my machine.
December 15, 2010 4:49pm - Maxime - nickname: (spacemax)
I'm very dissapointed to learn your bad experience with the game. In fact, i dont understand how you can't stop the game with Q as written at the bottom of menu. For the explanation, I use this fragment of code : event.key==97 for testing the pressed key Q in menu page and pygame.key.get_pressed()[97] in the game for the same key.
I suppose that your keyboard is in Qwerty mode.
I changed the game in the windowed mode in the first time. I'll do the toggle function after.
I'm sorry but i found this story a bit comic.
You can take this experience as a good test for your competence in computer.
But don't forget this french saying :
We don't go at work, we go work...
From France,
December 14, 2010 11:53pm - Robert Leachman - nickname: (quazar)
Wow scary I almost lost my work! Maxime it's always best to try windowed mode before setting fullscreen... I fired up your game on OS X, it went fullscreen and took control of my keyboard, and then I found something is odd and no keypresses would work at all! Couldn't <Esc> out and couldn't <Alt>-<Tab> to get away, I had to go to another machine and SSH in and kill yikes!

I suggest you take a look at my "Produce Defend Win" game for one way to handle starting in windowed mode and offering an option to select fullscreen... and why not use pygame.K_ instead of literals that (apparently) aren't cross-platform?

Thanks for the clue about Télécharger, good luck, I'm still looking forward to seeing your game in action!
December 5, 2010 5:40pm - josmiley / Luke spywoker - nickname: (mutualaccount)
pas mal, mais faudrait temporiser le mainloop car les déplacements sont trop rapides (selon les machines).
November 30, 2010 11:38am - Maxime - nickname: (spacemax)
I have made the changements in compressed file. Thank you for the bench test on linux plateform.
November 30, 2010 8:16am - BjÃrn Arild MÃland - nickname: (bmaland)
Just to let you know, the game does not run on Linux because filenames are case sensitive here. Some of your images are named x.png, others x.PNG. If you rename all the files to x.png it works. Cool game by the way :)
November 29, 2010 5:04am - Maxime - nickname: (spacemax)
To download the game, see at the bottom of the page and click on the link Télécharger.
I'm sorry, i'm french and my English is rather bad.
November 28, 2010 4:07pm - Robert Leachman - nickname: (quazar)
I can't figure out how to download this... need a bit more english on the web site please?

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

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

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