Skip to content

Instantly share code, notes, and snippets.

@david-crespo
Created April 12, 2023 17:03
Show Gist options
  • Save david-crespo/c42b8068927aae3e8345925ec269a438 to your computer and use it in GitHub Desktop.
Save david-crespo/c42b8068927aae3e8345925ec269a438 to your computer and use it in GitHub Desktop.
Light Lines (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Light Lines
author David Crespo
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
Light
gray darkgray
00000
01110
01110
01110
00000
Lit
gray white
00000
01110
01110
01110
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
O = Light
* = Lit
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Player, Wall, Light, Lit
======
RULES
======
[ Lit ] -> [ Light ]
late [ Player | Light ] -> [ Player | Lit ]
late [ Lit | Light ] -> [ Lit | Lit ]
==============
WINCONDITIONS
==============
( all Target on Crate )
=======
LEVELS
=======
.......
P..OO..
....O..
.......
....O..
.......
.......
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment