Skip to content

Instantly share code, notes, and snippets.

@BaseCase
Created September 21, 2018 18:30
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 BaseCase/547d38a9a6a519ffd7ad5ef55ba66efb to your computer and use it in GitHub Desktop.
Save BaseCase/547d38a9a6a519ffd7ad5ef55ba66efb to your computer and use it in GitHub Desktop.
PuzzleScript Intro (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title PuzzleScript Intro
author Casey Brant
OBJECTS
=======
Background
darkblue
Player
Blue #ff0000
0.0.0
.101.
00000
.000.
0.0.0
Wall
gray
Target
yellow
.....
.....
.....
0...0
00000
Box
brown
LEGEND
======
. = Background
P = Player
# = Wall
T = Target
B = Box
SOUNDS
======
COLLISIONLAYERS
===============
Background
Target
Player Wall Box
RULES
=====
[ > Player | Box ] -> [ > Player | > Box ]
WINCONDITIONS
=============
all Box on Target
LEVELS
======
#####
#...#
#.P.#
#.B.T
#####
message "Great job!"
...........
.######....
##....#####
#.....p...#
#..b......#
#....p....t
###########
message "You win!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment