Created
January 21, 2025 11:58
-
-
Save matstc/2149ea8a9004035c53039f7b18d38148 to your computer and use it in GitHub Desktop.
Blocks Blocks Blocks (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 Blocks Blocks Blocks | |
author Matt | |
(require_player_movement) | |
key_repeat_interval 0.24 | |
verbose_logging | |
debug | |
======== | |
OBJECTS | |
======== | |
Background | |
white | |
Target | |
BLACK | |
0...0 | |
0...0 | |
..... | |
0...0 | |
0.0.0 | |
Wall | |
black | |
Crate | |
grey | |
CrateTmp | |
grey | |
ArrowDown | |
transparent | |
ArrowLeft | |
transparent | |
ArrowRight | |
transparent | |
ArrowUp | |
transparent | |
FlippingArrowDown | |
transparent | |
FlippingArrowDownTmp | |
transparent | |
FlippingArrowUp | |
transparent | |
FlippingArrowUpTmp | |
transparent | |
Quicksand | |
GREY | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Player | |
PINK PINK BLACK | |
.222. | |
.020. | |
22122 | |
.222. | |
.2.2. | |
Shadow | |
transparent | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
U = ArrowUp | |
I = FlippingArrowUp | |
L = ArrowLeft | |
R = ArrowRight | |
D = ArrowDown | |
F = FlippingArrowDown | |
Q = Quicksand | |
8 = Crate and ArrowUp | |
9 = Crate and FlippingArrowUp | |
4 = Crate and ArrowLeft | |
6 = Crate and ArrowRight | |
2 = Crate and ArrowDown | |
3 = Crate and FlippingArrowDown | |
X = Target | |
======= | |
SOUNDS | |
======= | |
EndLevel 40581503 | |
Player Move 73472907 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Quicksand | |
Target | |
Crate, Player, Wall | |
CrateTmp | |
ArrowUp | |
FlippingArrowUp | |
FlippingArrowUpTmp | |
ArrowDown | |
FlippingArrowDown | |
FlippingArrowDownTmp | |
ArrowLeft | |
ArrowRight | |
Shadow | |
====== | |
RULES | |
====== | |
RIGHT [ RIGHT Player | Crate ] -> [ Player | Crate ] | |
LEFT [ LEFT Player | Crate ] -> [ Player | Crate ] | |
UP [ UP Player | Crate ] -> [ Player | Crate ] | |
DOWN [ DOWN Player | Crate ] -> [ Player | Crate ] | |
[ Player No Quicksand ] -> [ Player Shadow ] | |
late UP [ Crate ArrowUp | No Player ] -> [ ArrowUp | CrateTmp ] | |
late UP [ Crate FlippingArrowUp | No Player ] -> [ FlippingArrowDownTmp | CrateTmp ] | |
late LEFT [ Crate ArrowLeft | No Player ] -> [ ArrowLeft | CrateTmp ] | |
late RIGHT [ Crate ArrowRight | No Player ] -> [ ArrowRight | CrateTmp ] | |
late DOWN [ Crate ArrowDown | No Player ] -> [ ArrowDown | CrateTmp ] | |
late DOWN [ Crate FlippingArrowDown | No Player ] -> [ FlippingArrowUpTmp | CrateTmp ] | |
late [ FlippingArrowUpTmp ] -> [ FlippingArrowUp ] | |
late [ FlippingArrowDownTmp ] -> [ FlippingArrowDown ] | |
late [ CrateTmp ] -> [ Crate ] | |
late [ Player Shadow ] -> CANCEL | |
late [ Shadow ] -> [ ] | |
============== | |
WINCONDITIONS | |
============== | |
all Player on Target | |
======= | |
LEVELS | |
======= | |
MESSAGE It looked like the dungeon would never end… (Reach the outline to exit the level.) | |
########### | |
#####2##### | |
#.P..U...X# | |
########### | |
MESSAGE Blocks, blocks, blocks everywhere! | |
########### | |
#...6D...## | |
#.P.UL...X# | |
########### | |
MESSAGE Time moves forward, so relentless. (Press x to rest in an empty block.) | |
###2###### | |
###F###### | |
P..U.2..X# | |
####.U#### | |
Q.....#### | |
MESSAGE Well done, you. More levels to come. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment