Created
September 21, 2018 18:30
-
-
Save BaseCase/547d38a9a6a519ffd7ad5ef55ba66efb to your computer and use it in GitHub Desktop.
PuzzleScript Intro (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 PuzzleScript Intro | |
author Casey Brant | |
OBJECTS | |
======= | |
Background | |
darkblue | |
Player | |
Blue #ff0000 | |
0.0.0 | |
.101. | |
00000 | |
.000. | |
0.0.0 | |
Wall | |
gray | |
Target | |
yellow | |
..... | |
..... | |
..... | |
0...0 | |
00000 | |
Box | |
brown | |
LEGEND | |
====== | |
. = Background | |
P = Player | |
# = Wall | |
T = Target | |
B = Box | |
SOUNDS | |
====== | |
COLLISIONLAYERS | |
=============== | |
Background | |
Target | |
Player Wall Box | |
RULES | |
===== | |
[ > Player | Box ] -> [ > Player | > Box ] | |
WINCONDITIONS | |
============= | |
all Box on Target | |
LEVELS | |
====== | |
##### | |
#...# | |
#.P.# | |
#.B.T | |
##### | |
message "Great job!" | |
........... | |
.######.... | |
##....##### | |
#.....p...# | |
#..b......# | |
#....p....t | |
########### | |
message "You win!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment