Created
March 4, 2025 16:09
-
-
Save gamesbyangelina/a151decdeb5357435e0d2140b7178aca to your computer and use it in GitHub Desktop.
Creative Coding: Escape From Bush House [Solution] (PuzzleScript Script)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Creative Coding: Escape From Bush House [Solution] | |
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 | |
(soln: level 5) | |
(make FalseWall invisible since it's not solid, | |
and then make TrapWall visible since it is solid) | |
( | |
FalseWall | |
grey lightgray | |
..... | |
..... | |
..... | |
..... | |
..... | |
TrapWall | |
grey lightgray | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
) | |
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? | |
(soln: level 1) | |
( [ > Player | Crate ] -> [ > Player | > Crate ] ) | |
[ > Player | Box ] -> message Hmm pushing this one won't help... maybe we need a RULE that lets us pull Box objects? | |
( soln: level 2 ) | |
( [ < Player | Box ] -> [ < Player | < Box ] ) | |
[ 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 | |
(soln: level 3) | |
( all Player on Hamburger ) | |
======= | |
LEVELS | |
======= | |
###### | |
#.O..# | |
#....# | |
###*## | |
#....# | |
#.P..# | |
###### | |
######## | |
#..#O#.# | |
#..#&#.# | |
#......# | |
#.P....# | |
#......# | |
######## | |
message Oh... what happens if we can't reach the exit? | |
######## | |
#....#O# | |
#.T..### | |
#......# | |
#.P....# | |
#......# | |
######## | |
(soln: level 4) | |
(just add an exit in, easiest is here: | |
######## | |
#O.#O..# | |
##.##.## | |
#..#N..# | |
#.####.# | |
#.P#.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