Created
June 27, 2020 08:07
-
-
Save variousauthors/8d2e837a40c2381bcb041c3cba665979 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (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 Simple Block Pushing Game | |
author David Skinner | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
Gray Yellow | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
TrackUp | |
Black | |
..0.. | |
..0.. | |
..0.. | |
..... | |
..... | |
TrackDown | |
Black | |
..... | |
..... | |
..0.. | |
..0.. | |
..0.. | |
TrackLeft | |
Black | |
..... | |
..... | |
000.. | |
..... | |
..... | |
TrackRight | |
Black | |
..... | |
..... | |
..000 | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
TrackUp | |
TrackDown | |
TrackLeft | |
TrackRight | |
Player, Wall, Crate | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ left crate ] -> [ left crate TrackLeft ] | |
[ right crate ] -> [ right crate TrackRight ] | |
[ up crate ] -> [ up crate TrackUp ] | |
[ down crate ] -> [ down crate TrackDown ] | |
right [ | left crate ] -> [ TrackRight | left crate ] | |
left [ | right crate ] -> [ TrackLeft | right crate ] | |
up [ | down crate ] -> [ TrackUp | down crate ] | |
down [ | up crate ] -> [ TrackDown | up crate ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
########## | |
########## | |
.......... | |
.......... | |
.......*.. | |
..*....... | |
.......... | |
......P... | |
.......... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment