Skip to content

Instantly share code, notes, and snippets.

@carnundotcom
Created March 1, 2020 15:23
Show Gist options
  • Select an option

  • Save carnundotcom/70eb80c7faf3ae24c26de987cabd8f14 to your computer and use it in GitHub Desktop.

Select an option

Save carnundotcom/70eb80c7faf3ae24c26de987cabd8f14 to your computer and use it in GitHub Desktop.
Lekkie (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Lekkie
author Carnun Marcus-Page
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgray
BlackTile
black
Wall
darkgray darkgreen
00010
11111
01000
11111
00010
Player
darkgray orange yellow blue darkbrown black
.121.
0444.
43433
.3334
.5.5.
Light
white black
.....
.000.
.000.
.000.
.111.
Button
darkred
.....
.000.
.000.
.000.
.....
Crate
brown lightbrown
00000
11111
00000
11111
00000
HorizontalWire
red
.....
.....
00000
.....
.....
VerticalWire
red
..0..
..0..
..0..
..0..
..0..
HorizontalTarget
transparent
(gray darkgray
00000
00000
11111
00000
00000)
VerticalTarget
transparent
(gray darkgray
00100
00100
00100
00100
00100)
=======
LEGEND
=======
. = Background
, = BlackTile
# = Wall
p = Player
l = Light
b = Button
c = Crate
- = HorizontalWire
\ = VerticalWire
h = HorizontalTarget
t = VerticalTarget
¦ = HorizontalTarget and VerticalWire
+ = VerticalTarget and HorizontalWire
~ = HorizontalTarget and HorizontalWire
x = VerticalTarget and VerticalWire
Wire = HorizontalWire or VerticalWire
Movable = HorizontalWire or VerticalWire or Crate
Target = HorizontalTarget or VerticalTarget
Weight = Player or Crate
=======
SOUNDS
=======
Movable move 28401507
sfx0 67111907
sfx1 79072103
================
COLLISIONLAYERS
================
Background
BlackTile
HorizontalTarget, VerticalTarget, Button,
Player, Wall, Light, HorizontalWire, VerticalWire, Crate
======
RULES
======
[ > Player | Movable ] -> [ > Player | > Movable ]
late [ Player Button ] -> sfx1
==============
WINCONDITIONS
==============
(Wires connect button with lightbulb and player standing on button.)
All Target on Wire
Some Weight on Button
=======
LEVELS
=======
,#####,
##.p.##
#.-...#
#bhh~l#
#..-..#
##...##
,#####,
#######
#lhlhl#
#.-t\.#
#p-t..#
#.\x..#
#..bc.#
#######
#######
#l#...#
#t#.\.#
#t..\.#
#t.c\.#
#b#p..#
#######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment