Skip to content

Instantly share code, notes, and snippets.

@zwade
Created November 7, 2021 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwade/8a2e1e08f9860eebced1610c359d8284 to your computer and use it in GitHub Desktop.
Save zwade/8a2e1e08f9860eebced1610c359d8284 to your computer and use it in GitHub Desktop.
Panopticon (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Panopticon
author zwad3
homepage zachwa.de
debug
========
OBJECTS
========
Background
GREEN
Wall
BROWN
Player
yellow
. . . . .
. . . . .
. . 0 . .
. . . . .
. . . . .
TmpPlayer
orange
. . . . .
. . . . .
. . 0 . .
. . . . .
. . . . .
WireTop
Transparent
WireBottom
Black Gray
. 0 1 0 .
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
. 0 1 0 .
EWire
Black Blue
. 0 1 0 .
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
. 0 1 0 .
PrimedEWire
Black LightBlue
. 0 1 0 .
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
. 0 1 0 .
Drone
Gray Red Black Yellow
. 1 . 1 .
. 0 0 0 .
0 0 2 0 0
. 0 0 0 .
. 3 . 3 .
DeadServer
Gray White Black
. . 0 . .
. 1 0 1 .
0 0 2 0 0
. 1 0 1 .
. . 0 . .
RunningServer
Gray Blue Red
. . 0 . .
. 1 0 1 .
0 0 2 0 0
. 1 0 1 .
. . 0 . .
=======
LEGEND
=======
. = Background
P = Player
Wire = WireTop and WireBottom
W = Wire
D = Drone
S = PrimedEWire and Player
F = DeadServer
# = Wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
WireBottom, EWire, PrimedEWire, Drone, DeadServer, RunningServer
Player, TmpPlayer, Wall, WireTop
======
RULES
======
( Drone Rules )
[ Moving Player Drone ] -> [ Moving TmpPlayer Moving Drone ]
[ > Drone | Wire ] -> [ > Drone | > Wire ]
[ > Player | Drone ] -> [ > TmpPlayer | Drone ]
[ > TmpPlayer | EWire ] -> cancel
[ > Player | DeadServer ] -> [ > TmpPlayer | RunningServer ] checkpoint message Good Job
( Player Actions )
[ > Player | No WireTop ] -> cancel
[ > Player PrimedEwire | Wire ] -> [ > TmpPlayer EWire | PrimedEwire ]
( Wire Actions )
[ > Wire | Wire ] -> [ > Wire | > Wire ]
[ > WireTop | EWire ] -> [ WireTop | EWire ]
late [ TmpPlayer ] -> [ Player ]
==============
WINCONDITIONS
==============
No DeadServer
=======
LEVELS
=======
..WWWWWWW#.
.W.....#W#.
..WWW..#W#.
...D.W.#W#.
SWWWW..#WWF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment