Skip to content

Instantly share code, notes, and snippets.

@igaryhe
Created October 3, 2020 10:09
Show Gist options
  • Save igaryhe/c3b8a8fb5850c9add2baea5254103714 to your computer and use it in GitHub Desktop.
Save igaryhe/c3b8a8fb5850c9add2baea5254103714 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title My Game
author My Name Here
homepage www.puzzlescript.net
========
OBJECTS
========
Background
GREEN
Target
DarkBlue
Wall
BROWN
Player
PINK YELLOW BLACK
.222.
.000.
22122
.222.
.2.2.
Crate1
BLUE RED WHITE
02221
02221
02221
02221
02221
Crate2
RED BLUE WHITE
02221
02221
02221
02221
02221
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate1
2 = Crate2
@ = Crate1 and Target
O = Target
Crate = Crate1 or Crate2
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate1, Crate2
======
RULES
======
UP [ UP player | crate ] -> [ UP player | UP crate ]
DOWN [ DOWN player | crate ] -> [ DOWN player | DOWN crate ]
LEFT [ horizontal player | crate ] -> [ horizontal player | horizontal crate ]
LEFT [ vertical player | crate ] -> [ vertical player | vertical crate ]
RIGHT [ horizontal player | crate ] -> [ horizontal player | horizontal crate ]
RIGHT [ vertical player | crate ] -> [ vertical player | vertical crate ]
RIGHT [ RIGHT crate1 | | crate2 ] -> [RIGHT crate1 | | RIGHT crate2 ]
LEFT [ LEFT crate1 | | crate2 ] -> [LEFT crate1 | | LEFT crate2 ]
RIGHT [ RIGHT crate2 | | crate1 ] -> [RIGHT crate2 | | RIGHT crate1 ]
LEFT [ LEFT crate2 | | crate1 ] -> [LEFT crate2 | | LEFT crate1 ]
==============
WINCONDITIONS
==============
All Target on Crate1
=======
LEVELS
=======
##########
#....#...#
#....2...#
#.P#*....#
#........#
#.#....###
#.#....#O#
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment