Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created April 7, 2023 20:31
Show Gist options
  • Select an option

  • Save jcmiller11/609aeb5979c40754f05e891d10e05778 to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/609aeb5979c40754f05e891d10e05778 to your computer and use it in GitHub Desktop.
thought experiment - jc's solution (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title thought experiment - jc's solution
author MarioMak967, Beekie, and YOU!
homepage beekie.itch.io
========
OBJECTS
========
Background
white
Wall
black
VisiblePlayer
green black
00000
00101
00101
00000
00000
Crate
brown
00000
0...0
0...0
0...0
00000
Button
darkred red
.000.
01110
01110
01110
.000.
Door
grey
WireH
#EEE
.....
.....
00000
.....
.....
WireRU
#EEE
..0..
..0..
..000
.....
.....
WireDL
#EEE
.....
.....
000..
..0..
..0..
InvisiblePlayer
transparent
=======
LEGEND
=======
. = Background
# = Wall
P = VisiblePlayer
* = Crate
D = Door
B = Button
W = WireH
X = WireRU and InvisiblePlayer
Y = WireDL
Player = VisiblePlayer or InvisiblePlayer
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
Button, WireH, WireRU, WireDL
Player, Wall, Crate, Door
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > InvisiblePlayer | Crate ] -> [ > InvisiblePlayer | > Crate ]
late [Crate Button][Door] -> [Crate Button][]
late down [Button no Crate][Wall| no Door no Wall| Wall] -> [Button no Crate][Wall | Door| Wall]
==============
WINCONDITIONS
==============
All Player on Button
=======
LEVELS
=======
...............
.#############.
.#.....#.....#.
.#.....#..*..#.
.#.....dwy...#.
.#.p...#.xwb.#.
.#.....#.....#.
.#############.
...............
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment