Skip to content

Instantly share code, notes, and snippets.

@masalt0
Created September 23, 2020 21:00
Show Gist options
  • Save masalt0/91af399d2392edee0809aac417269534 to your computer and use it in GitHub Desktop.
Save masalt0/91af399d2392edee0809aac417269534 to your computer and use it in GitHub Desktop.
Puzzle Board 1 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Puzzle Board 1
author Magi
========
OBJECTS
========
Background
darkgray
Player
blue
Wall
gray
Trail
black
TrailSolid
black
NotPath
transparent
crate
lightgreen green
00000
01110
01010
01110
00000
rightcrate
lightgreen green
00100
00110
11111
00110
00100
upcrate
lightgreen green
00100
01110
11111
00100
00100
downcrate
lightgreen green
00100
00100
11111
01110
00100
prefilled
lightgray
nocrate
transparent
=======
LEGEND
=======
. = Background and NotPath and nocrate
P = Player
# = Wall
* = crate
- = crate and prefilled
R = rightcrate and prefilled
U = upcrate and prefilled
D = downcrate and prefilled
~ = prefilled
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Trail, NotPath, prefilled
rightcrate, upcrate, downcrate, crate, nocrate, nocrate
Player, TrailSolid, Wall, rightcrate, upcrate, crate
======
RULES
======
[ Player no Trail] -> [ Player Trail no NotPath ]
[ > Player | Crate ] -> [ > Player | > Crate]
RIGHT [ right player | rightcrate ] -> [ right Player | right rightcrate]
UP [ up player | upcrate ] -> [ up Player | up upcrate]
DOWN [ up player | downcrate ] -> [ up Player | up downcrate]
[crate no prefilled] -> [ crate prefilled ]
[trail no player] -> [TrailSolid]
==============
WINCONDITIONS
==============
No NotPath
=======
LEVELS
=======
..P.
....
P...
....
....
....
..P#.
..##.
.....
.....
#....
#....#
......
.P....
......
......
#....#
P..#
..R~
....
....
P###
.#~.
.#~.
.#~.
.#~.
.#U.
...#
..P...
..-...
......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment