Skip to content

Instantly share code, notes, and snippets.

@Draknek
Last active March 29, 2020 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Draknek/e3856f37ea3c897632f068c1b63fc3c4 to your computer and use it in GitHub Desktop.
Save Draknek/e3856f37ea3c897632f068c1b63fc3c4 to your computer and use it in GitHub Desktop.
Get Away (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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