Created
October 5, 2021 21:57
-
-
Save bvoq/98a5623502379bb911e3018be37c4f6d to your computer and use it in GitHub Desktop.
Dual game to increpare's "Seperate the lines" (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 Dual game to increpare's "Seperate the lines" | |
author increpare/pacocriado/bvoq | |
homepage www.puzzlescript.net | |
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
Background | |
lightgray green | |
11111 | |
11111 | |
11111 | |
11111 | |
11111 | |
Target | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Crate2 | |
Orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Crate3 | |
Orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
FrustumU | |
LightRed | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumL | |
lightblue | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumUU | |
Red | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumLL | |
blue | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumR | |
lightbrown | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumRR | |
yellow | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
Frustum = FrustumL or FrustumU or FrustumR or FrustumRR or FrustumUU or FrustumLL | |
FrustumLU = FrustumL and FrustumU | |
Player = Crate2 or Crate3 | |
Crate = Crate2 or Crate3 | |
. = Background | |
# = Wall | |
2 = Crate2 | |
3 = Crate3 | |
O = Target | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Player, Crate, Wall | |
FrustumL | |
FrustumU | |
FrustumR | |
FrustumLL | |
FrustumUU | |
FrustumRR | |
====== | |
RULES | |
====== | |
[Frustum] -> [] | |
horizontal [> Crate | Wall | Wall | Wall| No Crate No Wall] -> [ | Wall | Wall | Wall| No Crate No Wall] | |
+ horizontal [> Crate | Wall | Wall | No Crate No Wall] -> [ | Wall | Wall | Crate] | |
+ horizontal [> Crate | Wall | No Crate No Wall] -> [ | Wall | Crate] | |
late up [ Crate | ] -> [ Crate | FrustumU] | |
+ late left [ Crate | ] -> [ Crate | FrustumL ] | |
late left [FrustumL | ] -> [FrustumL | FrustumL] | |
+ late up [FrustumL | ] -> [FrustumL | FrustumL] | |
late left [FrustumU | ] -> [FrustumU | FrustumU] | |
+ late up [FrustumU | ] -> [FrustumU | FrustumU] | |
late [FrustumU FrustumL] -> [FrustumR] | |
late up [ Crate FrustumR | ] -> [ Crate FrustumR | FrustumUU] | |
+ late left [ Crate FrustumR | ] -> [ Crate FrustumR | FrustumLL ] | |
late left [FrustumLL | ] -> [FrustumLL | FrustumLL] | |
+ late up [FrustumLL | ] -> [FrustumLL | FrustumLL] | |
late left [FrustumUU | ] -> [FrustumUU | FrustumUU] | |
+ late up [FrustumUU | ] -> [FrustumUU | FrustumUU] | |
late [FrustumUU FrustumLL] -> [FrustumRR] | |
late [Crate2 FrustumR] -> win | |
late [Crate3 FrustumRR] -> win | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
message Try to get the crates into the golden frustum of each other | |
message Level 1 of 3 | |
.#2 | |
... | |
2.. | |
message Level 2 of 3 | |
.3.# | |
#3.# | |
#3.. | |
message Level 3 of 3 | |
..## | |
3..# | |
3..# | |
3#.. | |
##.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment