Skip to content

Instantly share code, notes, and snippets.

@jayrbolton
Created May 20, 2020 06:25
Show Gist options
  • Save jayrbolton/f4f3730c1fde056b898faf008c7b28b7 to your computer and use it in GitHub Desktop.
Save jayrbolton/f4f3730c1fde056b898faf008c7b28b7 to your computer and use it in GitHub Desktop.
Elements (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Elements
author Bob Ross
homepage www.spacejam.com
========
OBJECTS
========
Background
lightgreen
00000
00000
00000
00000
00000
ElemU
darkred gray
11111
10.01
10.01
10001
11111
ElemT
Blue DarkBlue
11111
10001
1.0.1
1.0.1
11111
ElemH
Yellow gray
11111
10.01
10001
10.01
11111
ElemI
DarkBlue gray
11111
1.0.1
1.0.1
1.0.1
11111
ElemO
DarkGreen gray
11111
10001
10.01
10001
11111
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange Pink Blue
.000.
.111.
22222
.333.
.3.3.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
H = ElemH
T = ElemT
I = ElemI
O = ElemO
U = ElemU
@ = ElemH or ElemT or ElemI or ElemO or ElemU
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Player, ElemH, ElemT, ElemI, ElemO, ElemU, Wall
======
RULES
======
[ > Player | @ ] -> [ > Player | > @ ]
late [ ElemI | ElemH ] -> [ ElemT | ]
late [ ElemO | ElemI ] -> [ ElemH | ]
late [ ElemI | ElemI ] -> [ ElemH | ]
late [ ElemO | ElemO | ] -> [ ElemO | ElemO | ElemO ]
late [ ElemH | ElemO ] -> [ ElemH | ElemH ]
late [ ElemH | ElemH | ElemH ] -> [ ElemH | | ElemI ]
late [ ElemO | ElemU ] -> [ ElemI | ]
late [ ElemH | ElemU | ] -> [ ElemH | ElemH | ElemH ]
==============
WINCONDITIONS
==============
Some ElemT
=======
LEVELS
=======
message Adjacent elements react
message Goal: Make T
##########
#........#
#..P.....#
#........#
#.H..I...#
#........#
##########
message Make T again
##########
#........#
#........#
#........#
#.p.i.i.o#
#........#
##########
message Make T?
##########
#........#
#.o.i.p..#
#........#
#...o.o..#
#........#
##########
message Yes, Make T!
##########
#........#
#.o.u.p..#
#........#
#.u.o....#
#........#
##########
message Make T?!
##########
#.o......#
#.######.#
#........#
#.h....o.#
#...p....#
##########
message To be continued..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment