Created
November 6, 2020 03:37
-
-
Save blunket/231661c49bd9fb78afd5185ecfe73fbc 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 may pass through blue doors. | |
dddddd | |
d..dbg | |
dl.d.. | |
d...8. | |
d..d.. | |
d..r.. | |
d.d..bg.d | |
dld.....d | |
d.d.....d | |
d8d88t88d | |
d.......d | |
dr......d | |
d.d.....d | |
message Only green may pass through green doors. | |
.bgd## | |
...d## | |
t68ddd | |
d...ld | |
dd..dd | |
dd..dd | |
dd..rd | |
gb..dd | |
.d8.dd | |
6d...d | |
rd.d6t | |
dd.... | |
.l...d | |
d##### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment