Created
May 9, 2019 15:26
-
-
Save kennygoff/3320b087eab8916e540e5b9dc8efdc8d to your computer and use it in GitHub Desktop.
ESC (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 ESC | |
author Kenny Goff | |
homepage www.kennygoff.com | |
======== | |
OBJECTS | |
======== | |
Background | |
WHITE BLACK | |
11111 | |
10001 | |
10001 | |
10001 | |
11111 | |
Path | |
RED | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
PathBroken | |
RED | |
..... | |
.0.0. | |
..0.. | |
.0.0. | |
..... | |
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 | |
WallCollapsed | |
LIGHTGRAY | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Portal | |
PURPLE | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Switch | |
DARKGRAY LIGHTGRAY | |
..... | |
.011. | |
.001. | |
.011. | |
..... | |
Platform | |
LIGHTGRAY | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
PlatformExpanded | |
DARKGRAY | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
StepperLeft | |
PURPLE | |
..... | |
..00. | |
.000. | |
..00. | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
; = Path | |
P = Player | |
E = Exit | |
K = Key | |
# = Wall | |
% = Platform | |
@ = Portal | |
S = Switch | |
L = StepperLeft | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
WallCollapsed, Platform | |
Switch | |
Exit | |
Key | |
Portal | |
StepperLeft | |
Wall, PlatformExpanded, Player | |
Path | |
PathBroken | |
====== | |
RULES | |
====== | |
[ > Player | Path ] -> [ Player | Path ] | |
[ > Player | No Path No Wall ] -> [ Path | Player ] | |
[ Player Key ] -> [ Player ] | |
late [ Player Portal ][ No Player Portal ] -> [ Path ][ Player ] | |
[ Player Switch ][ Platform ] -> [ Player Switch ][ PlatformExpanded ] | |
[ Player Switch ][ Wall ] -> [ Player Switch ][ WallCollapsed ] | |
[ Player Switch ] -> [ Player ] | |
[ PlatformExpanded Path ] -> [PlatformExpanded PathBroken ] | |
(late [ PlatformExpanded Path ] -> CANCEL) | |
[ StepperLeft ] -> [ LEFT StepperLeft ] | |
============== | |
WINCONDITIONS | |
============== | |
All Player on Exit | |
No Key | |
(No Path on PlatformExpanded) | |
No PathBroken | |
======= | |
LEVELS | |
======= | |
(1-5) | |
( | |
..P.. | |
..... | |
..... | |
..... | |
..E.. | |
P.... | |
..... | |
..... | |
..... | |
....E | |
#.P.# | |
#...# | |
#.#.# | |
#...# | |
#.E.# | |
P.... | |
.#.#. | |
..... | |
.#.#. | |
....E | |
P.... | |
..... | |
..... | |
..... | |
E...K | |
) | |
(6-10) | |
( | |
P.E.. | |
.#.#. | |
K.K.K | |
.#.#. | |
..K.K | |
P...E | |
.#.#. | |
K.K.K | |
.#.#. | |
..K.K | |
.KP## | |
KKKE# | |
.K.## | |
.K.## | |
.K.## | |
#EP.# | |
#K..# | |
#.#.# | |
#...# | |
#K..# | |
..P.. | |
..@.. | |
..... | |
..@.. | |
##E## | |
) | |
(11-15) | |
( | |
P###@ | |
.###. | |
.###. | |
.###. | |
@###E | |
P..K@ | |
.#.#. | |
.K@.. | |
.#.#. | |
E.... | |
P...@ | |
.#.#. | |
..@.. | |
.#K#. | |
....E | |
.KP## | |
@K@E# | |
.K.## | |
.K.## | |
.K.## | |
#.P.# | |
#...# | |
#@#K# | |
#...# | |
#KE@# | |
) | |
(16-20) | |
( | |
..... | |
##### | |
P.... | |
%%%%% | |
E.... | |
E.... | |
##### | |
P...S | |
%%%%% | |
..... | |
P#... | |
.#.#. | |
S..#. | |
K#K#K | |
.#..E | |
P.... | |
.#.#. | |
K.K.K | |
K%K%S | |
....E | |
...#. | |
.%.#. | |
.%.#. | |
.%.#. | |
P%S#E | |
) | |
(21-25) | |
..E.. | |
..... | |
....L | |
..... | |
..P.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment