pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
GalGen Trader 2

GalGen Trader 2 - 2.1

S Chilcote (schilcote)

Tags:

Description

Trade, fight, adventure! GalGen Trader 2 is a zequel to an abandoned project of mine. You fly around in your little yellow spaceship, fighting off pirates and shuttling goods from areas of low to high demand. Or, you can colonize planets and start your own empire. Or, you can be a miner, or a pirate yourself. The game is far from finished, and as of yet all you can do is trade goods to and from high and low Tlevels. I suppose it's playable, but just barely, and it's far from fun just quite yet. Select stars using the mouse and press enter to fly to them. Everything else is currently text-based, and should be self-explanatory.

Changes

A milestone release. Rewrote/refactored most of the game's code. From an external standpoint, this release represents a step back in the game's development, since some features were not replaced, but this refactoring of the game's code into a more readable and modifiable state will enable the addition of more content and features in the future.

Links

Home Page: https://sourceforge.net/projects/galgentrader2/
Source: https://sourceforge.net/projects/galgentrader2/files/latest/download
Windows: https://sourceforge.net/projects/galgentrader2/files/latest/download

Screenshot


click to view original size

Releases

GalGen Trader 2 - 2.1 - May 17, 2012
GalGen Trader 2 - 2.0 - Mar 23, 2012

Pygame.org account Comments

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

May 28, 2012 1:42pm - S Chilcote - nickname: (schilcote)
You just run GGT2.py in your Python 3.2.2 interpreter. Dunno what else to tell you, it works on my system.
May 26, 2012 1:15am - Thomas - nickname: (thomas42)
HOW DO I MAKE IT RUN GAME?
May 20, 2012 9:05pm - S Chilcote - nickname: (schilcote)
Nathanael:

Yes, but that shouldn't have anything to do with it. Try redownloading the zip, or getting the SVN.

Carsten:

Odd; it should work as downloaded. What error did you get before you recoded the function? Also, unfortunately, there's not much to do once you get to the starmap. You can buy and sell goods in the SVN version by clicking on a star and typing in the name of one of the star's planets, but that's about it. Eventually I plan to have stuff happen when you're flying in-between stars, and a way to beam down to planets.
May 19, 2012 7:47pm - Carsten Eggers - nickname: (masterlee)
spaces got lost. simply repalce the - at start by space:

def load_ship_types():
- for lin in open("shiptypes.dat"):
-- theshiptype=ShipType()
-- name, maxhp, combat_thrust, engine_speed, sprite = lin.strip().split(',')
-- theshiptype.name=name
-- theshiptype.maxhp=int(theshiptype.maxhp)
-- theshiptype.combat_thrust=float(theshiptype.combat_thrust)
-- theshiptype.engine_speed=int(theshiptype.engine_speed)
-- theshiptype.sprite=pygame.sprite.Sprite()
-- theshiptype.sprite.surface=thegalaxy.sprites[sprite]
-- thegalaxy.ship_types[theshiptype.name]=theshiptype
May 19, 2012 7:45pm - Carsten Eggers - nickname: (masterlee) - 3/5
I partly rewritten your load_ship_types to get it running. I made it until the starmap but what i am suposed to do then?

def load_ship_types():
for lin in open("shiptypes.dat"):
theshiptype=ShipType()
name, maxhp, combat_thrust, engine_speed, sprite = lin.strip().split(',')

theshiptype.name=name
theshiptype.maxhp=int(theshiptype.maxhp)
theshiptype.combat_thrust=float(theshiptype.combat_thrust)
theshiptype.engine_speed=int(theshiptype.engine_speed)

theshiptype.sprite=pygame.sprite.Sprite()
theshiptype.sprite.surface=thegalaxy.sprites[sprite]

thegalaxy.ship_types[theshiptype.name]=theshiptype
May 18, 2012 7:13pm - Nathanael Lastname - nickname: (inoodat)
Hello! This looks cool, but I can't unzip the file - it says that the archive is corrupt. Was this zipped on a 64 bit system, by any chance? I'm running 32 bit Windows XP.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Apr 19, 2014

Apr 16, 2014


Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

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