diff options
author | Paul Wise <pabs3@bonedaddy.net> | 2011-01-06 06:05:05 (GMT) |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2011-01-06 08:10:23 (GMT) |
commit | 2d8a7a4487e2591e426694430dee1fe55a01d1f0 (patch) | |
tree | 462a7972a4c56bf40339cdc78532b5e3793d44ee | |
parent | 3d17ae4796773f1b383624a2e12e7343697b66f5 (diff) |
Encourage zombie attacks by allowing dead children to be reborn.
-rw-r--r-- | ovpc.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -81,6 +81,11 @@ def update(dt): import sys sys.exit(0) + if keys[key.ENTER] and child.image is child_death: + score = 0 + child.image = pyglet.resource.image('child.png') + child.x = child.y = 0 + if keys[key.UP] and child.image is not child_death: child.y += dt * 100 if keys[key.DOWN] and child.image is not child_death: |