Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Last active June 23, 2023 23:26
Show Gist options
  • Select an option

  • Save jcmiller11/9da0072c0ab77632886b8bdbe0afde21 to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/9da0072c0ab77632886b8bdbe0afde21 to your computer and use it in GitHub Desktop.
test (PSBS Project)
Play this game by pasting the script in https://www.puzzlescript.net/editor.html
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.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
cratered
red
00000
0...0
0...0
0...0
00000
crateblue
blue
00000
0...0
0...0
0...0
00000
crategreen
green
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
R = cratered
G = crategreen
B = crateblue
O = Target
crates = cratered or crategreen or crateblue
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crates
======
RULES
======
[ > Player | cratered ] -> [ > Player | > cratered ]
[ > cratered | ] -> [ | cratered ]
[ > Player | crategreen ] -> [ > Player | > crategreen ]
[ > crategreen | ] -> [ | crategreen ]
[ > Player | crateblue ] -> [ > Player | > crateblue ]
[ > crateblue | ] -> [ | crateblue ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
####..
#.O#..
#..###
#RPB.#
#.G*.#
#..###
####..
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment