Skip to content

Instantly share code, notes, and snippets.

@gamesbyangelina
Created March 4, 2025 16:09
Show Gist options
  • Save gamesbyangelina/5ed209f5a786c5618c5a3ad1068861c0 to your computer and use it in GitHub Desktop.
Save gamesbyangelina/5ed209f5a786c5618c5a3ad1068861c0 to your computer and use it in GitHub Desktop.
Creative Coding: Escape From Bush House (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Creative Coding: Escape From Bush House
author Mike Cook
homepage www.possibilityspace.org/cc
========
OBJECTS
========
Background
lightblue blue
11111
01111
11101
11111
10111
Stairs
darkgrey grey black
22222
22210
21010
01010
01010
Hamburger
brown orange yellow red green lightbrown
.511.
11151
23443
00000
15115
FalseWall
grey lightgray
00010
11111
01000
11111
00010
TrapWall
grey
.....
.....
.....
.....
.....
Wall
grey lightgray
00010
11111
01000
11111
00010
Player
black orange white darkblue lightred
.111.
.444.
22222
43334
.3.3.
Crate
orange brown darkbrown
10001
02110
01210
01120
10001
Box
orange brown darkbrown
10001
02220
10001
11111
21112
Notice
orange brown darkbrown
11111
10001
11111
..1..
.111.
Notice2
orange brown darkbrown
11111
10001
11111
..1..
.111.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
& = Box
O = Stairs
T = Hamburger
N = Notice
M = Notice2
X = FalseWall
W = TrapWall
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
FalseWall
Stairs, Hamburger, Notice, Notice2
Player, Wall, Crate, Box, TrapWall
======
RULES
======
[ > Player | Crate ] -> message Hmm. Perhaps we need a RULE to help us push things like this Crate?
[ > Player | Box ] -> message Hmm pushing this one won't help... maybe we need a RULE that lets us pull Box objects?
[ Player Hamburger ] -> message Maybe we can turn this Hamburger into the exit instead?
[ > Player | Notice ] -> message I forgot to finish this level, can you do it for me please?
[ > Player | Notice2 ] -> message Can you solve this diabolical maze? Check the level editor for clues...
==============
WINCONDITIONS
==============
all Player on Stairs
=======
LEVELS
=======
######
#.O..#
#....#
###*##
#....#
#.P..#
######
########
#..#O#.#
#..#&#.#
#......#
#.P....#
#......#
########
message Oh... what happens if we can't reach the exit?
########
#....#O#
#.T..###
#......#
#.P....#
#......#
########
########
#O.#...#
##.##.##
#..#N..#
#.####.#
#.P#.P.#
########
################
#X#######...#.O#
#.......#.#.#X##
#.#..#X##.#X#..#
####.#....#....#
#.M#.####.#.WWW#
#.##.X....#....#
#.##.#.##WWW##X#
#..#.#..#.X.##.#
##.#X##XX.#....#
#.....P##.###..#
################
message Congratulations! You've escaped!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment