Created
December 13, 2018 21:30
-
-
Save bitonic/92148bc7454acf8ae037e3e41b22ebf5 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 Simple Block Pushing Game | |
author Stephen Lavelle | |
homepage www.puzzlescript.net | |
debug | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Target | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
Orange Yellow | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
TestObject1 | |
Pink | |
TestObject2 | |
Pink | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
TestProperty1 = TestObject1 or TestObject2 | |
TestProperty2 = TestObject1 or TestObject2 | |
TestAggregate = TestObject1 and TestObject2 | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Player, Wall, Crate | |
TestObject1 | |
TestObject2 | |
====== | |
RULES | |
====== | |
([ > Player | Crate ] -> [ > Player | > Crate ]) | |
[ horizontal TestAggregate | ] -> [ | horizontal TestObject1 ] | |
============== | |
WINCONDITIONS | |
============== | |
All Target on Crate | |
======= | |
LEVELS | |
======= | |
####.. | |
#.O#.. | |
#..### | |
#@P..# | |
#..*.# | |
#..### | |
####.. | |
###### | |
#....# | |
#.#P.# | |
#.*@.# | |
#.O@.# | |
#....# | |
###### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment