Skip to content

Instantly share code, notes, and snippets.

@marcJV
Created June 21, 2018 15:19
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 marcJV/3a00fc1520145baae440dfe2cd982cf4 to your computer and use it in GitHub Desktop.
Save marcJV/3a00fc1520145baae440dfe2cd982cf4 to your computer and use it in GitHub Desktop.
My Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title My Game
author Stephen Lavelle
homepage www.puzzlescript.net
========
OBJECTS
========
Background
GREEN
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Pit
BLACK
00000
00000
00000
00000
00000
FilledPit
BLACK ORANGE
00000
01110
01110
01110
00000
Goal
Red Black WHITE
.....
..00.
..22.
..1..
11111
Wall
RED
Treasure
YELLOW BROWN
.....
.000.
00000
11111
11111
Player
Blue
Crate
Orange
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
U = Pit
F = FilledPit
G = Goal
T = Treasure
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background, FilledPit
Target, Goal
Pit
Player, Wall, Crate, Treasure
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Treasure ] -> [ > Player | > Treasure ]
[ > Player | Crate | Pit ] -> [ Player | ... | FilledPit]
[ > Player | Treasure | Pit ] -> [ Player | ... | Pit ]
[ > Player | Pit ] -> [ Player | Pit ]
==============
WINCONDITIONS
==============
Any Treasure on Goal
=======
LEVELS
=======
#########
#.......#
#.....@U##
#.P.T.UUG#
#..@...U##
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment