Created
September 22, 2018 20:49
-
-
Save trptcolin/f87b1ea3b481e1f3d8bef9e4ca9d101c 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 | |
..0.. | |
00000 | |
..0.. | |
.000. | |
.0.0. | |
Zombie | |
gray | |
..0.. | |
00000 | |
..0.. | |
.000. | |
.0.0. | |
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 got bitten! You're a zombie now. Press r to restart! | |
============== | |
WINCONDITIONS | |
============== | |
some Player on Goal | |
======= | |
LEVELS | |
======= | |
############# | |
#...........# | |
#...........# | |
#.........G.# | |
#....*......# | |
#...........# | |
#...........# | |
#..P........# | |
#...........# | |
#...........# | |
############# | |
message You escaped! For now... | |
############# | |
#...........# | |
#...........# | |
#.........G.# | |
#....*......# | |
#.......*...# | |
#...........# | |
#..P........# | |
#...........# | |
#...........# | |
############# | |
message Whew, that was a close one! But there are more coming! | |
############# | |
#...........# | |
#...........# | |
#.........G.# | |
#....*......# | |
#.......*...# | |
#...*.......# | |
#..P...*....# | |
#...........# | |
#...........# | |
############# | |
message Nice, you're still among the living. Look out behind you! | |
############# | |
#...........# | |
#...........# | |
#......*..G.# | |
#....*......# | |
#.......*...# | |
#...*.......# | |
#..P...*....# | |
#...........# | |
#.*..*...*..# | |
############# | |
message Wow, you escaped unscathed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment