Created
December 16, 2023 16:16
-
-
Save nvh/981ccdced9074352d18872e999adb9bf to your computer and use it in GitHub Desktop.
Pusher (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 Pusher | |
author Niels & Ruud | |
homepage www.puzzlescript.net | |
( verbose_logging ) | |
======== | |
OBJECTS | |
======== | |
Background | |
green | |
Target | |
darkblue | |
Wall | |
brown | |
Player | |
pink | |
..0.. | |
00000 | |
..0.. | |
.000. | |
.0.0. | |
Crate | |
orange | |
Button | |
yellow | |
Pusher | |
red | |
Rail | |
lightgreen | |
PushSource | |
brown | |
ButtonTarget | |
lightbrown | |
ButtonSource | |
lightgreen | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
B = Button | |
& = Pusher | |
- = Rail | |
C = Crate and Rail | |
% = Pusher and PushSource | |
1 = PushSource | |
T = ButtonTarget | |
S = ButtonSource | |
$ = Button and ButtonSource | |
Weight = Crate or Player or Wall or Pusher | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target, Rail, PushSource, ButtonTarget, ButtonSource | |
Player, Wall, Crate, Pusher, Button | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ > Crate | Button | ButtonTarget ] -> [ > Crate | > Button | ButtonTarget ] | |
[ > Player | Button | ButtonTarget ] -> [ > Player | > Button | ButtonTarget ] | |
[ PushSource Pusher | Rail | ... | > Button | ButtonTarget ] -> [ PushSource > Pusher | Rail | ... | > Button | ButtonTarget ] | |
[ > Pusher | Crate ] -> [ > Pusher | > Crate ] | |
late [ ButtonSource NO Weight | Button ButtonTarget ] -> [ ButtonSource Button | ButtonTarget ] | |
late [ PushSource | Pusher Rail | ... | ButtonTarget NO Button ] -> [ PushSource Pusher | Rail | ... | ButtonTarget NO Button ] | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Crate | |
======= | |
LEVELS | |
======= | |
####T#### | |
#...$...# | |
%C.*..O$T | |
#.P.....# | |
T$...O.-% | |
#...-...# | |
####%#### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment