Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Last active October 30, 2023 11:48
Show Gist options
  • Save jcmiller11/e0c226f0e666175b5774bcd7ad6955c0 to your computer and use it in GitHub Desktop.
Save jcmiller11/e0c226f0e666175b5774bcd7ad6955c0 to your computer and use it in GitHub Desktop.
Multiple Messages (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Multiple Messages
author jc
homepage www.puzzlescript.net
noaction
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
msg1
transparent
msg2
transparent
msg3
transparent
black
black
=======
LEGEND
=======
. = Background
# = Wall
P = Player
O = Target
msgs = msg1 or msg2 or msg3
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall
msgs
black
======
RULES
======
[black] -> []
LATE [Player Target msg2] -> [Player Target msg3] message message #3!
LATE [Player Target msg1] -> [Player Target msg2] message message #2!
LATE [Player Target no msgs] -> [Player Target msg1] message message #1!
LATE [msg3] -> []
LATE [msgs] [no black] -> [msgs] [black]
LATE [msgs] -> [msgs] again
==============
WINCONDITIONS
==============
=======
LEVELS
=======
message Step on the target!
.....
.P...
..O..
.....
.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment