Created
October 1, 2021 13:59
-
-
Save bvoq/f1cbc87186ced15dabb3ab72d1a636c9 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (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 Seperate the lines | |
author increpare/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 | |
Red | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumL | |
Blue | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumUU | |
LightRed | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
FrustumLL | |
lightblue | |
..... | |
..... | |
..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 | |
======= | |
.#2 | |
... | |
2.. | |
.3.# | |
#3.# | |
#3.. | |
..## | |
3..# | |
3..# | |
3#.. | |
##.. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment