Created
July 21, 2019 18:44
-
-
Save blunket/39bfd1e4d96b3c9abbb49292b0aab188 to your computer and use it in GitHub Desktop.
Sync (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 Sync | |
author Andrew Siegman | |
homepage www.andrewsiegman.com | |
key_repeat_interval 0.2 | |
======== | |
OBJECTS | |
======== | |
Background | |
#aef #6ff | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
TargetBlue | |
#09c | |
00000 | |
0...0 | |
0.0.0 | |
0...0 | |
00000 | |
TargetGreen | |
#0d2 | |
00000 | |
0...0 | |
0.0.0 | |
0...0 | |
00000 | |
Wall | |
Black | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
PlayerBlue | |
#09c | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
PlayerGreen | |
#0d2 | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Lava | |
#f66 #f80 | |
11111 | |
10111 | |
11110 | |
11111 | |
11011 | |
Sand | |
#faa #fd8 | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
TempSand | |
#faa #fd8 | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
DoorGreen | |
#0d2 | |
.0.0. | |
00.00 | |
..... | |
00.00 | |
.0.0. | |
DoorBlue | |
#09c | |
.0.0. | |
00.00 | |
..... | |
00.00 | |
.0.0. | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
B = PlayerBlue | |
G = PlayerGreen | |
L = TargetBlue | |
R = TargetGreen | |
D = Lava | |
T = Sand | |
8 = DoorBlue | |
6 = DoorGreen | |
Player = PlayerBlue or PlayerGreen | |
======= | |
SOUNDS | |
======= | |
TempSand destroy 98931307 | |
restart 93870504 | |
endlevel 79261700 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
TargetBlue, TargetGreen, Lava, Sand, TempSand, DoorGreen, DoorBlue | |
PlayerGreen, PlayerBlue, Wall | |
====== | |
RULES | |
====== | |
[ > Player ] -> [ > Player ] | |
[ > Player | Lava ] -> restart | |
[ > Player | Sand ] -> [ > Player | TempSand ] | |
late [ TempSand no Player ] -> [ Wall ] | |
[ > PlayerBlue | DoorGreen ] -> [ PlayerBlue | DoorGreen ] | |
[ > PlayerGreen | DoorBlue ] -> [ PlayerGreen | DoorBlue ] | |
============== | |
WINCONDITIONS | |
============== | |
All TargetBlue on PlayerBlue | |
All TargetGreen on PlayerGreen | |
======= | |
LEVELS | |
======= | |
...d..# | |
.#t.lg# | |
.d...b# | |
.t#dddd | |
..d...d | |
...rddd | |
message Only blue can pass through blue doors. | |
dddddd | |
d..dbg | |
dl.d.. | |
d...8. | |
d..d.. | |
d..r.. | |
.bgd## | |
...d## | |
t68ddd | |
d...ld | |
dd..dd | |
dd..dd | |
dd..rd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment