Skip to content

Instantly share code, notes, and snippets.

@Hand-E-Food
Forked from anonymous/readme.txt
Last active August 29, 2015 14:02
Show Gist options
  • Save Hand-E-Food/a4a27588153b9bb27770 to your computer and use it in GitHub Desktop.
Save Hand-E-Food/a4a27588153b9bb27770 to your computer and use it in GitHub Desktop.
Path Finder
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Path Finder
author Mark Richardson
========
OBJECTS
========
Background
Black
Exit
Black White
01010
10101
01010
10101
01010
Wall
Brown
Player
Yellow Black
.000.
01010
00000
01110
.000.
Monster
Orange
.....
0..0.
.00..
0000.
0..0.
=======
LEGEND
=======
. = Background
X = Exit
# = Wall
P = Player
M = Monster
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Exit
Player, Monster, Wall
======
RULES
======
[ Monster ] -> [ action Monster ]
[ Background no Wall ] -> [ up Background ]
[ Player Background ] -> [ Player left Background ]
startloop
[ action Monster | left Background ] -> [ > Monster | left Background ]
[ down Background ] -> [ Background ]
[ left Background ] -> [ down Background ]
[ up Background | down Background ] -> [ left Background | down Background ]
endloop
[ action Monster ] -> [ Monster ]
[ up Background ] -> [ Background ]
late [ Monster | Player ] -> [ Monster | ]
==============
WINCONDITIONS
==============
all Exit on Player
=======
LEVELS
=======
#####################
#...#...#...#...#...#
#.P.#.............M.#
#...#...#...#...#...#
##.###.##############
#...#...#...#...#...#
#...#...............#
#...#...#...#...#...#
##.###############.##
#...#...#...#...#...#
#...................#
#...#...#...#...#...#
##########.#######.##
#...#...#...#...#...#
#.......#.......#...#
#...#...#...#...#...#
##.###.#######.###.##
#...#...#...#...#...#
#.M.#...........#.X.#
#...#...#...#...#...#
#####################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment