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

ZombieZ VS CriminalZ - 0.9

Max Messerich (schnappus)

Tags:

Description

Since ZombieZ VS CriminalZ is pretty much my first application that features more than not returning an error or drawing circles, I am pretty pleased with it.

The game is pretty simple and made for one or two players.You have two figures to control and an unlimited amount of zombies that will hurt you if they come to close.
You gain points for every kill and additional for multiple kills at once. If you have enough points you will level up and more zombies will spawn.

The coolest thing is propably a paricle-system that makes amazing blood-effects.

I created all graphic (except for one) and also most of the sounds by myself. For everything else look into the credits.
Everything you need to know

The source is a bit messy but I commented a lot. Windows executabel is aviable, too.

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 - 0.9 - Mar 12, 2011

Comments

If you wish to leave a comment, please sign in first.

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
Feb 13, 2012

Jul 5, 2011

Apr 17, 2011

Apr 16, 2011

Apr 15, 2011


Apr 14, 2011



Apr 12, 2011

Apr 11, 2011


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