Created
February 9, 2025 18:21
-
-
Save Zaydiscool777/9051110466e9e90599e5be31a32faa69 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 | |
Target | |
darkblue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
CTarget | |
brown | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
Wall | |
brown darkbrown | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Normal | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Vector | |
yellow yellow yellow yellow | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Back | |
blue | |
.000. | |
.000. | |
00000 | |
.000. | |
.0.0. | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
Player = Normal or Vector | |
P = Normal | |
; = Back | |
8 = Crate | |
2 = Crate and CTarget | |
O = Crate and Target | |
@ = CTarget and Target and Crate | |
* = CTarget | |
======= | |
SOUNDS | |
======= | |
startlevel 32887103 | |
restart 32887103 | |
undo 36772507 | |
Crate move 73628104 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
CTarget, Back | |
Target | |
Player, Wall, Crate | |
====== | |
RULES | |
====== | |
[ action Normal ] -> [ Vector ] | |
[ action Vector ] -> [ Normal ] | |
[ < Vector | Crate ] -> [ < Normal | < Crate ] | |
============== | |
WINCONDITIONS | |
============== | |
all Crate on CTarget | |
all Player on Back | |
======= | |
LEVELS | |
======= | |
####.. | |
#.o#.. | |
#.p### | |
#@;..# | |
#..*.# | |
#..### | |
####.. | |
;.... | |
.*... | |
..*@. | |
.**oo | |
.poo. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment