Created
June 21, 2018 15:19
-
-
Save marcJV/3a00fc1520145baae440dfe2cd982cf4 to your computer and use it in GitHub Desktop.
My Game (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 My Game | |
author Stephen Lavelle | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
GREEN | |
Target | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Pit | |
BLACK | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
FilledPit | |
BLACK ORANGE | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
Goal | |
Red Black WHITE | |
..... | |
..00. | |
..22. | |
..1.. | |
11111 | |
Wall | |
RED | |
Treasure | |
YELLOW BROWN | |
..... | |
.000. | |
00000 | |
11111 | |
11111 | |
Player | |
Blue | |
Crate | |
Orange | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
U = Pit | |
F = FilledPit | |
G = Goal | |
T = Treasure | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background, FilledPit | |
Target, Goal | |
Pit | |
Player, Wall, Crate, Treasure | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ > Player | Treasure ] -> [ > Player | > Treasure ] | |
[ > Player | Crate | Pit ] -> [ Player | ... | FilledPit] | |
[ > Player | Treasure | Pit ] -> [ Player | ... | Pit ] | |
[ > Player | Pit ] -> [ Player | Pit ] | |
============== | |
WINCONDITIONS | |
============== | |
Any Treasure on Goal | |
======= | |
LEVELS | |
======= | |
######### | |
#.......# | |
#.....@U## | |
#.P.T.UUG# | |
#[email protected]## | |
#.......# | |
######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment