Created
October 3, 2020 10:09
-
-
Save igaryhe/c3b8a8fb5850c9add2baea5254103714 to your computer and use it in GitHub Desktop.
Untitled 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 My Game | |
author My Name Here | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
GREEN | |
Target | |
DarkBlue | |
Wall | |
BROWN | |
Player | |
PINK YELLOW BLACK | |
.222. | |
.000. | |
22122 | |
.222. | |
.2.2. | |
Crate1 | |
BLUE RED WHITE | |
02221 | |
02221 | |
02221 | |
02221 | |
02221 | |
Crate2 | |
RED BLUE WHITE | |
02221 | |
02221 | |
02221 | |
02221 | |
02221 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate1 | |
2 = Crate2 | |
@ = Crate1 and Target | |
O = Target | |
Crate = Crate1 or Crate2 | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Player, Wall, Crate1, Crate2 | |
====== | |
RULES | |
====== | |
UP [ UP player | crate ] -> [ UP player | UP crate ] | |
DOWN [ DOWN player | crate ] -> [ DOWN player | DOWN crate ] | |
LEFT [ horizontal player | crate ] -> [ horizontal player | horizontal crate ] | |
LEFT [ vertical player | crate ] -> [ vertical player | vertical crate ] | |
RIGHT [ horizontal player | crate ] -> [ horizontal player | horizontal crate ] | |
RIGHT [ vertical player | crate ] -> [ vertical player | vertical crate ] | |
RIGHT [ RIGHT crate1 | | crate2 ] -> [RIGHT crate1 | | RIGHT crate2 ] | |
LEFT [ LEFT crate1 | | crate2 ] -> [LEFT crate1 | | LEFT crate2 ] | |
RIGHT [ RIGHT crate2 | | crate1 ] -> [RIGHT crate2 | | RIGHT crate1 ] | |
LEFT [ LEFT crate2 | | crate1 ] -> [LEFT crate2 | | LEFT crate1 ] | |
============== | |
WINCONDITIONS | |
============== | |
All Target on Crate1 | |
======= | |
LEVELS | |
======= | |
########## | |
#....#...# | |
#....2...# | |
#.P#*....# | |
#........# | |
#.#....### | |
#.#....#O# | |
########## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment