Skip to content

Instantly share code, notes, and snippets.

@kennygoff
Created May 8, 2019 20:12
Show Gist options
  • Save kennygoff/c7347e6192c0fecb9890e19aef8e8ddf to your computer and use it in GitHub Desktop.
Save kennygoff/c7347e6192c0fecb9890e19aef8e8ddf to your computer and use it in GitHub Desktop.
ESC (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title ESC
author Kenny Goff
homepage www.kennygoff.com
========
OBJECTS
========
Background
WHITE BLACK
11111
10001
10001
10001
11111
Path
RED
.....
.000.
.000.
.000.
.....
Player
BLUE
.....
.000.
.000.
.000.
.....
Exit
GREEN
.000.
0...0
0...0
0...0
.000.
Key
YELLOW
.....
..0..
.000.
..0..
.....
Wall
DARKGRAY
00000
00000
00000
00000
00000
Portal
PURPLE
.....
.000.
.0.0.
.000.
.....
=======
LEGEND
=======
. = Background
; = Path
P = Player
E = Exit
K = Key
# = Wall
@ = Portal
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Exit
Key
Portal
Wall, Path, Player
======
RULES
======
[ > Player | No Path No Wall ] -> [ Path | Player ]
[ Player Key ] -> [ Player ]
late [ Player Portal ][ No Player Portal ] -> [ Path ][ Player ]
==============
WINCONDITIONS
==============
All Player on Exit
No Key
=======
LEVELS
=======
..P..
.....
.....
.....
..E..
P....
.....
.....
.....
....E
#.P.#
#...#
#.#.#
#...#
#.E.#
P....
.#.#.
.....
.#.#.
....E
P....
.....
.....
.....
E...K
P.E..
.#.#.
K.K.K
.#.#.
..K.K
P...E
.#.#.
K.K.K
.#.#.
..K.K
.KP##
KKKE#
.K.##
.K.##
.K.##
#EP.#
#K..#
#.#.#
#...#
#K..#
..P..
..@..
.....
..@..
##E##
P###@
.###.
.###.
.###.
@###E
P..K@
.#.#.
.K@..
.#.#.
E....
P...@
.#.#.
..@..
.#K#.
....E
.KP##
@K@E#
.K.##
.K.##
.K.##
#.P.#
#...#
#@#K#
#...#
#KE@#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment