Skip to content

Instantly share code, notes, and snippets.

@trptcolin
Created September 22, 2018 20:38
Show Gist options
  • Save trptcolin/8d0b74d4564e2e18eae7c926899a28cb to your computer and use it in GitHub Desktop.
Save trptcolin/8d0b74d4564e2e18eae7c926899a28cb to your computer and use it in GitHub Desktop.
Zombie Invasion (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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