Skip to content

Instantly share code, notes, and snippets.

@jonbro
Created November 5, 2022 16:34
Show Gist options
  • Save jonbro/faf14723d0362cc8758842bc67c74e19 to your computer and use it in GitHub Desktop.
Save jonbro/faf14723d0362cc8758842bc67c74e19 to your computer and use it in GitHub Desktop.
Path to the bee (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Path to the bee
author ziv
homepage www.puzzlescript.net
verbose_logging
========
OBJECTS
========
Background
green
00000
00000
00000
00000
00000
Wall
brown
Temp
black
PlayerEmpty
lightgreen brown
.....
.000.
00001
00000
1...1
PlayerKey
lightgreen brown yellow
.222.
.002.
00001
00000
1...1
PlayerHammer
lightgreen brown black
.112.
.002.
00001
00000
1...1
Path
red orange yellow
...2.
.12..
.121.
.011.
00000
Water
blue black
..0..
.000.
.101.
.111.
.111.
bee
yellow black
.010.
01010
.111.
.000.
..1..
key
yellow
..000
..0..
..000
..0..
.000.
hammer
brown black
11111
11111
..0..
..0..
..0..
door
darkbrown brown
.000.
01010
01010
01010
01010
=======
LEGEND
=======
. = Background
# = Wall
Player = PlayerEmpty or PlayerKey or PlayerHammer
P = PlayerEmpty
H = hammer
D = door
B = bee
K = key
W = Water
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
bee, key, hammer
Wall, Player, Path, Door, Water, Temp
======
RULES
======
[ > Player | No water No path No door no wall] -> [ Path | player ]
[ > Player | water | no path] -> [ Path | player | Temp]
late [Temp] -> [Water]
[> Player | water | path] -> [path | player | Background]
[ > PlayerKey | door ] -> [ Path | PlayerEmpty ]
[ > PlayerHammer | Wall ] -> [ Path | PlayerEmpty ]
[ Player key ] -> [ PlayerKey ]
[ Player hammer ] -> [ PlayerHammer ]
[ > Water | Path ] -> [ Background | Water ]
==============
WINCONDITIONS
==============
all Player on bee
=======
LEVELS
=======
message go to the bee
.......
.......
.p...b.
.......
.......
message keys open doors
.......
....###
p.k.db.
....###
.......
message you cannot cross your path
k.#b#.p
..#d#..
.......
.......
message water makes your path safe
...#b#.
...#.#.
...#d#.
p......
####.#.
..k....
...w...
.......
.......
#########
#...#..k#
#...#...#
#.ph#...#
#...###d#
#..##..b#
#########
#########
#.h#kd.b#
#########
#h..p...#
####....#
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment