Created
July 18, 2019 19:20
-
-
Save blunket/c06accffe960cd7ef960ee9cdd237fb1 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 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
B = PlayerBlue | |
G = PlayerGreen | |
L = TargetBlue | |
R = TargetGreen | |
D = Lava | |
T = Sand | |
Player = PlayerBlue or PlayerGreen | |
======= | |
SOUNDS | |
======= | |
TempSand destroy 98931307 | |
restart 93870504 | |
endlevel 79261700 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
TargetBlue, TargetGreen, Lava, Sand, TempSand | |
PlayerBlue, PlayerGreen, Wall | |
====== | |
RULES | |
====== | |
[ > Player ] -> [ > Player ] | |
[ > Player | Lava ] -> restart | |
[ > Player | Sand ] -> [ > Player | TempSand ] | |
late [ TempSand no Player ] -> [ Wall ] | |
============== | |
WINCONDITIONS | |
============== | |
All TargetBlue on PlayerBlue | |
All TargetGreen on PlayerGreen | |
======= | |
LEVELS | |
======= | |
message Move the players to their corresponding targets. | |
l###r | |
.###. | |
.###. | |
.###. | |
b###g | |
message All players must be on their target at the same time. | |
####.# | |
l##.r# | |
..##.# | |
#.##.# | |
b.##g. | |
message Avoid lava. | |
####### | |
l###r.. | |
...##D. | |
##.###. | |
b..#g.. | |
####### | |
l###... | |
...##D. | |
D#.#r#. | |
b..#g.. | |
######## | |
rd#....# | |
...#dd.# | |
d#.#l#.# | |
b...g..d | |
#####D## | |
.rD##... | |
.#.#D.#l | |
...#..## | |
##.##.## | |
##g##b## | |
#l..D#####. | |
D.D.####Dr. | |
###..###D.. | |
####.D##..# | |
##.B.##G.D# | |
message Sand tiles will crumble after use. (Press R to restart!) | |
#...T.D# | |
#lD##.D# | |
#####BD# | |
####D### | |
.T..G... | |
#######r | |
drgt... | |
##tt.## | |
####tt# | |
#b..dld | |
###.... | |
##ddddddddd | |
##d.......d | |
##d.b..dl.d | |
##d.......d | |
d.....t...d | |
##dr....tgd | |
##ddddddddd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment