Last active
March 29, 2020 19:16
-
-
Save Draknek/e3856f37ea3c897632f068c1b63fc3c4 to your computer and use it in GitHub Desktop.
Get Away (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 Get Away | |
author Alan Hazelden | |
======== | |
OBJECTS | |
======== | |
Background | |
GREEN | |
Target | |
DarkBlue | |
Wall | |
BROWN | |
Player | |
Blue | |
Crate | |
Orange | |
Spawn | |
transparent | |
Dead | |
red | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player and Spawn | |
* = Crate | |
O = Target | |
Person = Player or Crate | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target, Spawn | |
Player, Wall, Crate, Dead | |
====== | |
RULES | |
====== | |
[ Person | Person ] -> [ Dead | Dead ] | |
[ Dead | Person ] -> [ Dead | Dead ] | |
[ > Person | no Person no Wall no Dead ] -> [ | action Person ] | |
+ [ Person | stationary Person ] -> [ Person | > Person ] | |
+ [ action Person ] -> [ Person ] | |
[ Person | Person ] -> again | |
[ Dead | Person ] -> again | |
[ Player Target ] [ Spawn ] -> [ Player ] [ Target ] | |
============== | |
WINCONDITIONS | |
============== | |
All Target on Player | |
======= | |
LEVELS | |
======= | |
######### | |
#p......# | |
#.*..#..# | |
#..###.*# | |
#..*....# | |
#..#.#..# | |
##...#.o# | |
######### | |
############## | |
###*#*#*###### | |
#........##### | |
#..p.*...###*# | |
#............# | |
#.#.#*##.###.# | |
#.#.#.##..*..# | |
#.....##.###.# | |
########.#*#.# | |
########....o# | |
############## | |
(######### | |
#p......# | |
#.*.*.*.# | |
#*.###.*# | |
#.*.*.*.# | |
#..#.#..# | |
##...#.o# | |
######### | |
######### | |
##*#*#*## | |
#.......# | |
#.p.*...# | |
#.......# | |
#..#.#..# | |
##...#.o# | |
######### | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment