Created
January 22, 2017 19:05
-
-
Save anonymous/e5f1985d6614ae0c6dd258410037409c to your computer and use it in GitHub Desktop.
title
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 Simple Block Pushing Game | |
author Stephen Lavelle | |
homepage www.puzzlescript.net | |
run_rules_on_level_start | |
verbose_logging | |
======== | |
OBJECTS | |
======== | |
Background | |
grey | |
Target | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Radio | |
Orange Yellow | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
Repeater | |
Orange Yellow | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Cover1 | |
Yellow | |
Cover2 | |
White | |
Zero | |
red | |
One | |
red | |
Two | |
red | |
Three | |
red | |
Four | |
red | |
Working | |
blue | |
Dark1 | |
transparent black | |
10101 | |
01010 | |
10101 | |
01010 | |
10101 | |
Dark2 | |
black transparent | |
10101 | |
01010 | |
10101 | |
01010 | |
10101 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Radio | |
O = Repeater | |
Cover = Cover1 or Cover2 | |
Counter = Zero or One or Two or Three or Four | |
Dark = Dark1 or Dark2 | |
Solid = Radio or Wall or Player | |
! = Dark1 | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Cover | |
Counter | |
Target | |
Working | |
Player, Wall, Radio | |
Dark | |
====== | |
RULES | |
====== | |
[ Dark1 | no Dark ] -> [ Dark1 | Dark2 ] | |
+ [ Dark2 | no Dark ] -> [ Dark2 | Dark1 ] | |
[ > Player | Radio ] -> [ > Player | > Radio ] | |
[ Cover ] -> [] | |
[ > Radio | no Solid ] -> [ | Radio ] | |
[ > Radio ] -> [ Radio ] | |
startloop | |
random [ Radio no Working ] -> [ Radio action Working ] | |
down [ | | | | action Working | | | | ] -> [ Four | Three | Two | One | action Working | One | Two | Three | Four ] | |
right [ | | | | action Working | | | | ] -> [ Zero | Zero | Zero | Zero | Working | Zero | Zero | Zero | Zero ] | |
right [ | | | | One | | | | ] -> [ Zero | Zero | Zero | Zero | Zero | Zero | Zero | Zero | Zero ] | |
right [ | | | Two | | | ] -> [ Zero | Zero | Zero | Zero | Zero | Zero | Zero ] | |
right [ | | Three | | ] -> [ Zero | Zero | Zero | Zero | Zero ] | |
right [ | Four | ] -> [ Zero | Zero | Zero ] | |
[ Zero Cover ] -> [ Cover2 ] | |
[ Zero no Cover ] -> [ Cover1 ] | |
endloop | |
[ Cover Dark ] -> [ Cover ] | |
[ Working Dark ] -> [ Working ] | |
[ Working ] -> [] | |
[ Counter ] -> [] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
!.............. | |
............... | |
............... | |
............... | |
.....####...... | |
.....#.o#...... | |
.....#..###.... | |
.....#.p..#.... | |
.....#..*.#.... | |
.....#..###.... | |
.....####...... | |
............... | |
............... | |
............... | |
............... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment