Skip to content

Instantly share code, notes, and snippets.

@whatsim
Created October 16, 2018 22:17
Show Gist options
  • Save whatsim/243c6cf83b15ebd2e09db5d078c5c248 to your computer and use it in GitHub Desktop.
Save whatsim/243c6cf83b15ebd2e09db5d078c5c248 to your computer and use it in GitHub Desktop.
title My Game
author Anonymous
homepage www.puzzlescript.net
========
OBJECTS
========
Background
GREEN
Target
DarkBlue
Wall
BROWN
Player
Blue
Crate
#f23711
Barricade
Black
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
X = Barricade
@ = Crate and Target
O = Target
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate, Barricade
======
RULES
======
[ > Player | Crate ] -> [ Player | > Crate ]
[ > Crate | Wall ] -> [ Crate | Wall ]
+[ > Crate | Barricade ] -> [ Crate | Barricade ]
+[ > Crate | Crate ] -> [ Crate | Crate ]
+[ > Crate | ] -> [ | > Crate ]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
#########
#.......#
#...X...#
#.....@.#
#.P...OX#
#....X..#
#...*...#
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment