pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
ZombieZ VS CriminalZ

ZombieZ VS CriminalZ - 0.9

Max Messerich (schnappus)

Tags:

Description

Simple zombie-shooter with great blood effects for one or two players.

You have two players to controll and fight an unlimited amount of zombies and get as many points as possible.
Of course you get those points by killing zombies, but also by achieving multiple kills at once with a "supershot" or a bomb. For a deeper instruction, look into the "How to play" in the menu.

The biggest change from the last version is a highscore and
greatly improved gameplay.


The game started as a school project and I fixed the code and improved the game a bit a few month later.It's pretty much the first program I wrote which can do more than drawing circles or calculatating a few numbers.


If you want to take a look at the mess of the code there is lot of commenting to help you understand.

Links

Home Page: http://code.google.com/p/zombiez-vs-criminalz/downloads/list
Windows: http://www.pygame.org/

Screenshot


click to view original size

Releases

ZombieZ VS CriminalZ - 1.0 - May 1, 2011
ZombieZ VS CriminalZ - 0.9 - Mar 12, 2011

Pygame.org account Comments

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

November 11, 2011 3:03pm - Brendan Lally - nickname: (lb182902) - 4/5
very cool looking cant wait to play :)
April 11, 2011 5:08pm - Max Messerich - nickname: (schnappus)
Thanks for your feedback, James! :)

About your question:
I think that my quit-fuction is the cleaner one because it really stop's the program from running while pygame.quit() does not. (http://www.pygame.org/docs/ref/pygame.html#pygame.quit)
Also, if you replace pygame.quit() with the 'run' variable in my code, the program returns an error message.

About that error message:
It's something like "integer expected, got float" isn't it? :D
April 10, 2011 3:07pm - James Pollard - nickname: (wormling) - 4/5
Thanks Max for sharing this with everyone. I've been looking for tutorials to try to learn PyGame from, and haven't found any good ones yet. But, then I found your game and it has been quite useful in seeing how the code actually works and comes together. Now, I have only started using pygame, and am quite a novice, but I found this code on another tutorial section:
while 1:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
pygame.quit ()
What it does is allow the game to exit gracefully when it is executed from within IDLE.
In your code, I believe this is your exit statement:
def exit():
global run
run=False
What I am wondering is, do you know how the first one will affect exiting the game when it is run NOT in an IDLE environment? I am making my first game now and am using the first method for quitting, but I wonder if I should use the second for when the code is made into an executable?

Also, all in all, very nicely done on the game. I had fun playing it, and the looks and sounds are good. I have found one bug so far in it, that caused the game to crash, but other than that, works well. I'll see if I can reproduce the bug for you so that I can get the code message so you can possibly fix what is causing it.
March 19, 2011 1:56pm - Max Messerich - nickname: (schnappus)
Sure :)
Ask what you want to know and I'll try to help were I can.
March 19, 2011 3:29am - me - nickname: (captalex)
hey man, nice concept you have here,
i have a similar idea where i have two players with guns, and they compete for who can kill the most zombies, i'll like to include my own sound and get some cool sprites and code help if you could . thanks. #captalex
March 14, 2011 10:09am - Max Messerich - nickname: (schnappus)
I would appreciate some feedback, especially for the code.
spotlight

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


Nov 13, 2014

Nov 11, 2014


Nov 10, 2014

Nov 9, 2014

Nov 6, 2014


Nov 4, 2014

Nov 3, 2014

Oct 28, 2014

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