Triplex Invaders Screenshot An Alien Invaders style game with 3d graphics

In Triplex Invaders, the player pilots a spaceship against never ending hordes of enemy ships. It has psychedelic 3d graphics (but 2d gameplay). Enemies emerge from the top of the screen while the player shoots up from the bottom. As the game progresses, the playing field gets larger, allowing for more enemies and making it harder to survive. This is counterbalanced by increasingly powerful weapons and health powerups for the player.

License: free
Requirements: Python>=2.4, Pygame, pyOpenGL, psyco (improves performance, but not necessary)

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnononoyesyes
Suggest an update

Comments

IANANativeEnglishSpeaker, but... did you mean "neverending hordes"?
Re: Never ending hoards posted by scarlet on Mar 7 2006 12:46 PM
A horde is a large group of nomadic warriors. Never ending means that there is an unlimited number of something. Never ending horde is an unlimited number of warriors.
Re: Never ending hoards posted by anonymous on Mar 7 2006 3:06 PM
He means it should be "neverending" not "never ending".
Re: Never ending hoards posted by anonymous on Mar 7 2006 3:51 PM
No, he means "horde" instead of "hoard." A hoard is a large collection of treasure or other goodies.
Re: Never ending hoards posted by anonymous on Mar 8 2006 3:06 PM
Well, that too. Heh.
Re: Never ending hoards posted by bigfatdude on Apr 1 2006 2:44 PM
never-ending hordes.

Traceback (most recent call last):
File "./main.py", line 19, in ?
from ship import Player
File "~/Games/triplexinvaders-1.0/ship.py", line 22
return min((dist(pos, enemy.pos), enemy) for enemy in enemies)[1]

SyntaxError: invalid syntax

I have a feeling this is related to my version of Python (2.3.5) - can anyone confirm this?

Re: Python >= 2.4 only? posted by godrin on Mar 3 2006 8:44 AM
Seems like that. I get the same error when starting with my standard 2.3.5 version on Debian testing. Sad enough Debian doesn't provide pyopengl for Python 2.4 yet.
Re: Python >= 2.4 only? posted by anonymous on Mar 3 2006 8:46 AM
Yes, that's correct. To run this with 2.3 you need to add some extra square brackets so the line reads:
return min([(dist(pos, enemy.pos), enemy) for enemy in enemies])[1]
Re: Python >= 2.4 only? posted by anonymous on Mar 3 2006 9:04 AM
here is the full patch:
diff -r original/color.py triplexinvaders-1.0/color.py 92c92 < return sum(abs(x-y) for x,y in zip(c1, c2)) --- > return sum([abs(x-y) for x,y in zip(c1, c2)]) 109c109 < --- > diff -r original/effects.py triplexinvaders-1.0/effects.py 59c59 < evel = vAvg(model.vertices()[v] for v,n in model.faces()[0]) --- > evel = vAvg([model.vertices()[v] for v,n in model.faces()[0]]) diff -r original/enemy.py triplexinvaders-1.0/enemy.py 102c102 < dst, closest = min((dist(ship.pos, x.pos), x) for x in otherShips) --- > dst, closest = min([(dist(ship.pos, x.pos), x) for x in otherShips]) 130c130 < lostProjectiles.draw() --- > lostProjectiles.draw() diff -r original/rgb.py triplexinvaders-1.0/rgb.py 768c768 < return colors[min((sum(abs(x-y) for x,y in zip(c, color)), c) for c in colors)[1]] --- > return colors[min([(sum([abs(x-y) for x,y in zip(c, color)]), c) for c in colors])[1]] 777c777 < --- > diff -r original/ship.py triplexinvaders-1.0/ship.py 22c22 < return min((dist(pos, enemy.pos), enemy) for enemy in enemies)[1] --- > return min([(dist(pos, enemy.pos), enemy) for enemy in enemies])[1] diff -r original/vector.py triplexinvaders-1.0/vector.py 10c10 < return '(' + ' + '.join(str(x)+y for x,y in zip(self, ['i', 'j', 'k']+['X']*(len(self)-3))) + ')' --- > return '(' + ' + '.join([str(x)+y for x,y in zip(self, ['i', 'j', 'k']+['X']*(len(self)-3))]) + ')' 29c29 < return sqrt(sum(v**2 for v in self)) --- > return sqrt(sum([v**2 for v in self])) 70c70 < return sum(x*y for x,y in zip(v1, v2)) --- > return sum([x*y for x,y in zip(v1, v2)])
Re: Python >= 2.4 only? posted by godrin on Mar 3 2006 9:08 AM
Sorry, I'm at a loss how to use this patch. Can anybody point out to me how to run it?
Re: Python >= 2.4 only? posted by godrin on Mar 3 2006 9:37 AM
I made manually. Thanks for the patch. This game is cool! I like abstract shooters!!! I switched the fire button to LCTRL, cause my keyboard doesn't support diagonal moves otherwise :-) I like this laser idea - never saw that before. Add some sound and music and can be a great game!
Re: Python >= 2.4 only? posted by anonymous on Mar 5 2006 6:36 AM
Just for the record:

patch -p1 < Patchfile should have done the trick

Re: Python >= 2.4 only? posted by AnonymousMcNobody on Mar 3 2006 9:56 AM
Thanks. It's running like a charm now. Definitely a very nice start to the game - very sylish, fun to play. I'll definitely be keeping my eye out for updates to this one.
Re: Python >= 2.4 only? posted by anonymous on Mar 16 2006 3:08 AM
I get the same thing (with python 2.3.3)...

Traceback (most recent call last): File "./main.py", line 19, in ? from ship import Player File "/home/spike1/work/triplexinvaders-1.0/ship.py", line 22 return min((dist(pos, enemy.pos), enemy) for enemy in enemies)[1] ^ SyntaxError: invalid syntax

Re: Python >= 2.4 only? posted by AnonymousMcNobody on Mar 16 2006 7:57 AM
The patch posted above provides the fix.
The 1.01 zip is missing the models/* and sound/* files and won't start. The files from the 1.0 distribution work, though.
Re: 1.01 package broken posted by wiremore on Apr 7 2006 11:37 AM
has been fixed
Nice game, I like the sort of game where you can powerup different weapons. I do wish it were a little more survivable, it's rare for me to get past 1000 points. I also wish the powerup icons would change shape to show you which powerup you'll get. The idea behind the increasing play area is original, that's a cool feature. My biggest request would be to make an easy setting where the ship isn't so fragile, and the powerups are more frequent.

Log in or register to rate this game or post a comment.