pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Cargo Carrier

Cargo Carrier - 1.1

Brock Glaze (bglaze)

Tags:

Description

I used Python 2.7 and Pygame to create this game. You will need both of them installed to run the script. However, you shouldn't need anything else. Any suggestions or comments are very welcome! Collect cargo crates and warp to more difficult zones. You have 1 life, and the max level is currently set to 10. Can you win? I, the creator, have yet to get past level 8, but maybe you can!

Changes

1. Gave rocks 'hitpoints'. -- In other words, larger rocks will merely crack upon shooting them once and will need to be shot further to be destroyed. 2. Gave the player ship a 'force shield' -- different rock types will do different amounts of damage to the ship's shield, some will hurt more than others. 3. Added a shield 'health-bar' underneath the ship, so you will know when death is immenent. 4. Changed some sound effects. 5. Added a small explosion image.

Links

Home Page: http://www.pygame.org/
Source: http://www.bglz.net/files/python/projects/CargoCarrier-9-11-11-script.zip

Screenshot


click to view original size

Releases

Cargo Carrier - 1.13 - Sep 15, 2011
Cargo Carrier - 1.12 - Sep 13, 2011
Cargo Carrier - 1.1 - Sep 12, 2011
Cargo Carrier - 1.0 - Sep 11, 2011

Pygame.org account Comments

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

September 20, 2011 4:23pm - Brock Glaze - nickname: (bglaze)
Zachariah, I haven't implemented a menu system yet to allow the user to adjust the screen size. However, you can open the cargo_carrier.pyw file in a text editor, and change the self.SW and self.SH (screen width, screen height) attributes to whatever you want. The game difficulty scales with the screen area, so it should be just as easy/difficult no matter how big or small you make it (within reason).
September 19, 2011 8:34pm - Zachariah Callaway - nickname: (xzcallaway)
Great game. I've been playing it a lot on my Desktop. I'm surprized that this game is so much fun. However I can't play it on my laptop, the window is too big.
September 13, 2011 7:32pm - Brock Glaze - nickname: (bglaze)
Thank you Maxime,

The space key is supposed to work for shooting your laser, so I am not sure what you might be experiencing.

However, as far as your other suggestion, I am definitely planning to implement those. I want, very soon, to add a startup menu with an option to adjust screen resolution. I also plan on adding surprises to spice things up, like you mentioned.

In the works are:
1. Items to pick up like laser/shield upgrades and shield cells so you can recharge your 'health'.

2. I want to add 'Bosses' at key levels to make things more interesting. This may also give you the option to "drop your cargo at the first sign of trouble".

Thank you very much for your suggestions, and please keep them coming!
September 12, 2011 3:22pm - Maxime - nickname: (spacemax)
rather a nice game. It can be improved in adding some surprises or simply in adding the space key shooting.
In more, the definition of the main surface was too big on my configurration : 1024*800. Begins the game in a low definition and adds an option to change it.
Well done.
September 11, 2011 4:05pm - Brock Glaze - nickname: (bglaze)
Jouni,

Thank you for the advice. I REALLY appreciate the input about the code. I am going to change that asap.

Also, I appreciate the advice on functionality, and I love the suggestion. My wife actually commented that it's weird that the smaller rocks are just as destructive as the biggest rocks. So, I am going to implement shield power (ie health bar), and different damage depending on rock size.

Thanks again for your input! Hopefully I'll have the new version up as soon as I get some free time to add those things.
spotlight

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


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


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