Server Help

Non-Subspace Related Coding - <py> Hypertension (Game)

BDwinsAlt - Sat Mar 31, 2007 9:50 pm
Post subject: <py> Hypertension (Game)
This is a game that I made. I got the basic structure from someone else and added some things to the game. The characters, images, and sounds are all fully customizable. It is open source. Play around with it and make it even cooler. Change the background or something.

To add music use this code.

Code: Show/Hide

music = loadSoundFile("music.wav")
music.play()


Just add that below where the background.bmp is or somewhere else in the main def.

Keys:
Up Arrow - Moves Ship Up.
Down Arrow - Moves Ship Down
Left Arrow - Moves Ship Left
Right Arrow - Moves Ship Right
Space Bar - Shoots

Special:
F1 - Speed boost to the left
F2 - Speed boost to the right
F3 - Speed boost down
F4 - Speed boost up

Have fun. Most your edits please. icon_biggrin.gif

(A cool thing to add would be your ship with your name on it as the main player and random images with people you hate as the enemy.)

Requirements:

Python http://python.org
PYGame Module http://www.pygame.org/download.shtml


*** Score is kept in the Title Bar.


Animate Dreams - Sun Apr 01, 2007 12:43 am
Post subject:
o=

This looks pretty cool... and considering it's python, I'm impressed. >_> I'm gonna play with this during my next C++ class.
BDwinsAlt - Sun Apr 01, 2007 12:48 pm
Post subject:
I replaced the graphics with continuum graphics and it was even crazier. Play with it. icon_biggrin.gif

More screenshots.



k0zy - Sun Apr 01, 2007 4:09 pm
Post subject:
That the mana dragon in the first pic?
BDwinsAlt - Sun Apr 01, 2007 4:56 pm
Post subject:
I'm not sure. I found it on a sprite website. If you have any cool sprites let me know. The possibilities are unlimited. icon_biggrin.gif



I Love Charmed.
icon_lol.gif
Smong - Sun Apr 08, 2007 4:10 pm
Post subject:
Might want to use jpg for the screenshots in future, they are quite big altogether.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group