pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Twisted Zombie Playground

Twisted Zombie Playground

ProfessorJ (professorj)

Tags:

Description

A small 'sandbox' type demo, where you can spawn multiple zombies and watch as they chase your avatar around. The demo uses the Pymunk dame dynamics library, which means that you, the zombies and the buildings are all dynamic objects. Zombies mass together in a convincing way, and collide with walls and shuffle through doors.

Initialy created for PyWeek September 2007. Quite short on features at the moment, but workable.

Sadly, the game falls short of its intended grandeur. The original theme for the game was twisted. The game was to approach the theme in the physical sense ( "twisted streets of the city" ) and in the sense of bizaar of disturbing.
Planned features, which I would enjoy implementing in the future:

* Gameplay
Basically see how long you can survive before the zombies wipe you out. Kill as many zombies as you can, and find and rescue other survivors.

* Procedural level generation.
Randomly generate streets, blocks, houses, buildings, etc.

* Interactive dynamics.
The red oblongs currently in the demo represent abandoned cars. It would be cool if you could get in and drive them around to run over zombies.

* Shoot-em up.
At the moment your character can't even shoot. As soon as I find a solution to using collision callbacks properly in Pymunk, I will add this feature.

* Role-playing elements.
I initialy wanted your character to have stats and skills. Classes would focus on combat (more damage), engineering (jacking cars, repairing, building barricades), social (rallying other survivors), sneaky (stealthier, better at searching for items), medical.

* Survivor camps
Other survivors in the game, that react indemendently. You would be able to set up camps and barricade them off with debris, barbed wire, etc. Assign sentry posts to defend the waves of zombies and try to keep the camp well stocked with supplies. Supplies would have to be looted from the ruined city, so make sure the barricaed are strong before leaving the camp.

Changes

First release.
You may need to download and install Pymunk to get this to work.
pymunk-0.1.1.zip

Features
* Title Screen
* Controllable Avatar
* Game dynamics and collision
* Sprite animation

Links

Home Page: http://professorj.000webhost.com/dl-page.htm
Source: http://professorj.000webhost.com/dl-page.htm

Screenshot


click to view original size

Releases

Twisted Zombie Playground - 0 - Sep 16, 2007

Pygame.org account Comments

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

September 21, 2007 12:35pm - Ham - nickname: (ham43)
I also tried to play, your instructions are a bit lacking.

When you say "install" pyMunk, what exactly does that mean other than unzipping it somewhere on your harddrive? Is there a specific location it needs to be in?

As for running it, the readme states:
"On Windows or Mac OS X, locate the "run_game.pyw" file and double-click it."

What do you mean by locate, isn't it zipped with the game? I couldn't find it.

Lastly, tried to run it from the console and got the following error:

Traceback (most recent call last):
File "run_game.py", line 18, in <module>
import main
File "C:\Python25\ZombiePlayground\lib\main.py", line 9, in <module>
import app
File "C:\Python25\ZombiePlayground\lib\app.py", line 5, in <module>
import title, game, random
File "C:\Python25\ZombiePlayground\lib\game.py", line 4, in <module>
import gameUtils, player, camera, level, zombie, random
File "C:\Python25\ZombiePlayground\lib\level.py", line 1, in <module>
import Numeric, random
ImportError: No module named Numeric

So what did I do wrong?

Looks like a cool game, bummed I can't play.

September 16, 2007 11:24pm - chris - nickname: (phoenixtrooper2000) - 3/5
Game has a lot of potential and I like your plans for it, my only problem with it so far is the running speed. Its painfully slow as of right now, and the zombies just push the avatar around. Also the zombies spawn on a single point on the map instead of where the cursor is, same with the deletion. Other than those problems the game runs smoothly and theres no other problems Im aware of at the moment.
September 16, 2007 6:45am - ProfessorJ - nickname: (professorj)
Doh. This error occured because pymunk is not installed on your system. I had assumed that including the pymunk dll would be enough to make the game run. My bad. For now try downloading it from here:
<br>
<a href=http://viblo.se/pmwiki/uploads/Main/pymunk-0.1.1.zip>pymunk-0.1.1.zip</a>
<br>
I'll consider including this in the next release.
September 16, 2007 4:35am - Shiroku - nickname: (shiroku)
I can't play it, this is the output:

fra@casa:~/Desktop/ZombiePlayground$ python run_game.py
Traceback (most recent call last):
File "run_game.py", line 18, in ?
import main
File "/home/fra/Desktop/ZombiePlayground/lib/main.py", line 9, in ?
import app
File "/home/fra/Desktop/ZombiePlayground/lib/app.py", line 5, in ?
import title, game, random
File "/home/fra/Desktop/ZombiePlayground/lib/title.py", line 4, in ?
import pymunk._chipmunk as cp
File "/home/fra/Desktop/ZombiePlayground/lib/pymunk/__init__.py", line 6, in ?
from pymunk import _chipmunk
File "/home/fra/Desktop/ZombiePlayground/lib/pymunk/_chipmunk.py", line 1, in ?
from ctypes import *
ImportError: No module named ctypes
fra@casa:~/Desktop/ZombiePlayground$
spotlight

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


Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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