Created
September 22, 2018 20:38
-
-
Save trptcolin/8d0b74d4564e2e18eae7c926899a28cb to your computer and use it in GitHub Desktop.
Zombie Invasion (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Zombie Invasion | |
author Owen | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background (special, automatically placed in its own layer) | |
darkgreen | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Player (Required by game) | |
PINK | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Zombie | |
gray | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Goal | |
black | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Wall | |
GREEN | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
P = Player | |
* = Zombie | |
G = Goal | |
# = Wall | |
========= | |
SOUNDS | |
========= | |
Player Move 92281305 | |
EndLevel 31700902 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Goal | |
Player, Zombie, Wall | |
====== | |
RULES | |
====== | |
[ Zombie | ... | Player ] -> [ > Zombie | ... | Player ] | |
[ > Zombie | Wall ] -> [ < Zombie | Wall ] | |
[ > Zombie | Player ] -> [ Zombie | Zombie ] message You were eaten by a zombie. Press r to restart! | |
============== | |
WINCONDITIONS | |
============== | |
some Player on Goal | |
======= | |
LEVELS | |
======= | |
############# | |
#...........# | |
#...........# | |
#.........G.# | |
#....*......# | |
#...........# | |
#........*..# | |
#..P........# | |
#.....*.....# | |
#...........# | |
############# | |
message You win! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment