Created
January 7, 2024 22:31
-
-
Save nicholascc/45133fb21e62e51407dbecf62187c75f to your computer and use it in GitHub Desktop.
Garden Path Puzzle (PuzzleScript Script)
This file contains 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 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 Garden Path Puzzle | |
author Nicholas | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
lightgreen green | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Flowers | |
blue green yellow | |
10111 | |
02011 | |
10101 | |
11020 | |
11101 | |
Target | |
yellow | |
.00.. | |
.0000 | |
.000. | |
.0... | |
000.. | |
Wall | |
brown darkbrown | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Blocker | |
grey | |
.0.0. | |
0.0.0 | |
.0.0. | |
0.0.0 | |
.0.0. | |
======= | |
LEGEND | |
======= | |
Collideable = Wall or Crate or Blocker | |
Blocking = Wall or Blocker | |
Moveable = Crate or Player | |
f = Flowers | |
. = Background | |
# = Wall | |
P = Player | |
& = Player and Blocker | |
S = Target | |
@ = Crate | |
% = Blocker | |
======= | |
SOUNDS | |
======= | |
Crate create 36772507 | |
startlevel 57420903 | |
EndLevel 123413 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Flowers | |
Target, Blocker | |
Player, Wall, Crate | |
====== | |
RULES | |
====== | |
[ > Player | Blocker ] -> [ | Player Blocker ] | |
[ > Moveable | Moveable ] -> [ > Moveable | > Moveable ] | |
[ > Moveable | Collideable ] -> [ Moveable | Collideable ] | |
+ [ > Moveable | ] -> [ | > Moveable ] again | |
============== | |
WINCONDITIONS | |
============== | |
all Player on Target | |
======= | |
LEVELS | |
======= | |
###### | |
#....# | |
#...p# | |
#...## | |
#s...# | |
#....# | |
###### | |
message congrats! level 2 | |
###### | |
#....# | |
#@...# | |
#....# | |
#S...# | |
#...p# | |
###### | |
message congrats! level 3 | |
###### | |
#P...# | |
#.@@.# | |
#...## | |
#.S..# | |
#....# | |
###### | |
message congrats! level 3 | |
############### | |
#....###......# | |
#...%%%...%...# | |
#s...###..%%%.# | |
#....###......# | |
#....###p.##..# | |
############### | |
message congrats! level 4 | |
#########.%. | |
#%%%%%%##.%. | |
#%@..%.##.%. | |
#%.###.S#.%. | |
#&.###.##f%f | |
#%.....##f%f | |
#%%%%%%##.%. | |
#########.%. | |
message congrats! level 5 | |
.f#######ff. | |
.f#%....##f. | |
.f#p..@..#f. | |
.f#......#f. | |
.f##%....#f. | |
.f#.....##f. | |
.f#s....#ff. | |
.f#...@.#f.. | |
.f#...%%#f.. | |
.f#######f.. | |
message congrats! level 6 | |
########### | |
#%%%#..#### | |
#%...f.#### | |
#%..#..#### | |
#%@.#.@#### | |
#%..#p..### | |
#.f.##.f### | |
#....s..### | |
########### | |
message congrats! level 7 | |
#########f. | |
#########.. | |
#%%%#..##.f | |
#%.....##f. | |
#%..#f.##.f | |
#%@.#..#### | |
#%@.#.@#### | |
#%..#p...## | |
#.f.##.f.## | |
#....s...## | |
########### | |
message you win! | |
message well done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment