Created
April 9, 2021 02:06
-
-
Save ElliottSchultz/7e310cab2bacab710fe1c9e76a9a364d to your computer and use it in GitHub Desktop.
HIDE?. (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title HIDE?. | |
author Team GECKO | |
noundo | |
norepeat_action | |
======== | |
OBJECTS | |
======== | |
Player | |
#4f9e31 green #45782c #44872a #49912d #31571e | |
.111. | |
10001 | |
25052 | |
23432 | |
.222. | |
Mass | |
#4f9e31 green #45782c #44872a #49912d | |
.111. | |
10001 | |
24042 | |
23432 | |
.222. | |
DroppedMass | |
#4f9e31 green #45782c #44872a #49912d #363636 | |
51115 | |
10001 | |
24042 | |
23432 | |
52225 | |
BridgeMass | |
green #333333 #45782c #365e22 | |
12221 | |
00000 | |
20002 | |
22022 | |
12221 | |
Plate | |
#545454 #707070 #363636 #454545 | |
00003 | |
01112 | |
01112 | |
01112 | |
32222 | |
Hole | |
#707070 #545454 #454545 | |
00000 | |
01111 | |
01222 | |
01222 | |
01222 | |
Light | |
#d1cfae #ebe273 #fff78c white | |
01210 | |
12321 | |
23332 | |
12321 | |
01210 | |
Hide | |
green #474747 | |
.111. | |
11011 | |
10001 | |
10101 | |
.111. | |
HideWithCover | |
red #474747 | |
.111. | |
11011 | |
10001 | |
10101 | |
.111. | |
LensL | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
40123 | |
40123 | |
40123 | |
40123 | |
40123 | |
LensT | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
44444 | |
00000 | |
11111 | |
22222 | |
33333 | |
LensR | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
32104 | |
32104 | |
32104 | |
32104 | |
32104 | |
LensB | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
33333 | |
22222 | |
11111 | |
00000 | |
44444 | |
LensCornerUL | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
44444 | |
40000 | |
40111 | |
40122 | |
40123 | |
LensCornerUR | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
44444 | |
00004 | |
11104 | |
22104 | |
32104 | |
LensInnerCornerUL | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
40123 | |
00123 | |
11123 | |
22223 | |
33333 | |
LensInnerCornerUR | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
32104 | |
32100 | |
32111 | |
32222 | |
33333 | |
LensCornerBL | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
40123 | |
40122 | |
40111 | |
40000 | |
44444 | |
LensCornerBR | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
32104 | |
22104 | |
11104 | |
00004 | |
44444 | |
LensInnerCornerBL | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
33333 | |
22223 | |
11123 | |
00123 | |
40123 | |
LensInnerCornerBR | |
white #e6e6e6 #d7d7d7 #c3c3c3 #737373 | |
33333 | |
32222 | |
32111 | |
32100 | |
32104 | |
Background | |
#c3c3c3 #c9c9c9 | |
10100 | |
01000 | |
00100 | |
00000 | |
00001 | |
OutsideBackground | |
black | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
France | |
blue white red black | |
01233 | |
01233 | |
01233 | |
33333 | |
33333 | |
Italy | |
green white red black | |
01233 | |
01233 | |
01233 | |
33333 | |
33333 | |
Japan | |
white red black | |
00022 | |
01022 | |
00022 | |
22222 | |
22222 | |
EndingBlock | |
black | |
00000 | |
00000 | |
00000 | |
00000 | |
00000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
D = OutsideBackground | |
P = Player | |
M = Mass | |
K = DroppedMass | |
I = Light | |
& = Plate | |
O = Hole | |
B = BridgeMass | |
H = Hide | |
C = HideWithCover | |
L = LensL | |
X = LensR | |
W = LensCornerBL | |
Z = LensB | |
Y = LensCornerBR | |
S = LensCornerUL | |
T = LensT | |
A = LensCornerUR | |
E = LensInnerCornerUR | |
Q = LensInnerCornerUL | |
G = LensInnerCornerBR | |
F = LensInnerCornerBL | |
U = EndingBlock | |
1 = France | |
2 = Italy | |
3 = Japan | |
Lens = LensT or LensB or LensR or LensL or LensCornerBR or LensCornerBL or LensCornerUL or LensCornerUR or LensInnerCornerUL or LensInnerCornerUR or LensInnerCornerBL or LensInnerCornerBR | |
Flag = France or Italy or Japan | |
======= | |
SOUNDS | |
======= | |
Player Move 93714107 | |
sfx0 9557700 (Place mass on plate) | |
sfx1 22697107 (For when opening hide? Couldn't figure it out) | |
HideWithCover Action 22697107 | |
showmessage 77368308 | |
endlevel 57467107 | |
startlevel 17036508 | |
restart 47595705 | |
sfx2 74414702 (Mass gets destroyed by light) | |
sfx3 68357108 (Dropping mass in hole) | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Flag, Hole | |
Plate, OutsideBackground, BridgeMass | |
Player, Lens, Mass, DroppedMass, HideWithCover | |
Light, Hide, EndingBlock | |
====== | |
RULES | |
====== | |
[ Mass Plate ] [ Action Player ] -> [ DroppedMass Plate ] [ Action Player ] sfx0 | |
[ Mass Hole ] [ Action Player ] -> [ BridgeMass ] [ Action Player ] sfx3 | |
late [ Player Hole ] -> restart | |
late [ Mass Light ] -> [ Light ] sfx2 | |
late [ Player Light ] -> restart | |
late [HideWithCover] -> [Hide] | |
late [Plate no DroppedMass] [Hide] -> [Plate] [HideWithCover] | |
rigid [ Moving Player | Mass ] -> [ Moving Player | Moving Mass ] | |
+ rigid [ Moving Mass | Mass ] -> [ Moving Mass | Moving Mass ] | |
[ stationary Mass | Moving Player ] -> [ stationary Mass | stationary Player ] | |
============== | |
WINCONDITIONS | |
============== | |
No HideWithCover | |
No Mass | |
All Hide on Player | |
All EndingBlock on Player | |
======= | |
LEVELS | |
======= | |
message You are being watched through a microscope by French scientists trying to study you for your uncanny ability to hide. | |
message Move your character with the arrow keys to get into the hiding spot. | |
dddddddddddd | |
d1ddsttadddd | |
ddstq..etadd | |
ddl..p...xdd | |
dsq......ead | |
dl........xd | |
dl........xd | |
dwf......gyd | |
ddl...h..xdd | |
ddwzf..gzydd | |
ddddwzzydddd | |
dddddddddddd | |
message Congratulations! You have hidden successfully, but the scientists have removed the hide and placed a smaller one somewhere else, locking it with weighted pressure plates. | |
message The scientists have also zoomed in to more clearly define your shape and notice that your body is made of segmented mass. | |
message You can drop a segment of mass on a pressure plate to activate it. Press the action key (space or x) while your mass is on a pressure plate to drop it. Once dropped, your mass cannot be moved. | |
dddddddddddd | |
d1ddsttadddd | |
ddstq..etadd | |
ddl......xdd | |
dsq&.....ead | |
dl.......cxd | |
dl........xd | |
dwf......gyd | |
ddl..mp..xdd | |
ddwzf..gzydd | |
ddddwzzydddd | |
dddddddddddd | |
message Yet again, the scientists have placed a smaller hide on the microscope slide and zoomed in. They have also placed more pressure plates that you need to activate. | |
message When massed is dropped, any mass not connected to the player can be reattached and moved. | |
dddddddddddd | |
d1ddsttadddd | |
ddstq&.etadd | |
ddl......xdd | |
dsq.....mead | |
dl......mpxd | |
dl....&...xd | |
dwfc.....gyd | |
ddl......xdd | |
ddwzf..gzydd | |
ddddwzzydddd | |
dddddddddddd | |
message The scientists have now introduced obstacles between you and the hide that you must figure out how to get through. | |
dddddddddddd | |
d1ddsttadddd | |
ddstq.&etadd | |
ddlc.....xdd | |
dstttt.tttad | |
dl........xd | |
dl&m......xd | |
dwfpm.....xd | |
ddlm...&.xdd | |
ddwzf..gzydd | |
ddddwzzydddd | |
dddddddddddd | |
message Keep hiding! You can do it! | |
dddddddddddd | |
d1dsttataddd | |
ddsq..x&eadd | |
dsqpm.x..ead | |
dl.m......xd | |
dl.m.&x...xd | |
dl....x.&.xd | |
dlc...x...xd | |
dwf...x..gyd | |
ddwf..x.gydd | |
dddwzzyzyddd | |
dddddddddddd | |
message The French scientists cannot zoom in further with their microscopes. Not giving up on their studies, they have contacted their colleagues in Italy and have sent over some samples to be analyzed through their more advanced microscopes. | |
message But there is a smudge on the lens, focusing light on a spot on the sample plate. You are extremely sensitive to light. Any mass that comes into contact with light is incenerated. | |
ddddddddddddd | |
d2dstttttaddd | |
ddsq.....eadd | |
dsq.c.....ead | |
dl.......&.xd | |
dl.........xd | |
dl....i....xd | |
dl..m......xd | |
dl..pm.&...xd | |
dwf.......gyd | |
ddwf.....gydd | |
dddwzzzzzyddd | |
ddddddddddddd | |
message As the Italian scientists switch lenses to zoom in further, more smudges focus light in different areas of the plate. Be careful! | |
ddddddddddddd | |
d2dstatttaddd | |
ddsq&x.c.eadd | |
dsq...pm..ead | |
dl....mmi..xd | |
dl...i.....xd | |
dl......&..xd | |
dl...t.t...xd | |
dl.........xd | |
dwf.&.....gyd | |
ddwf.....gydd | |
dddwzzzzzyddd | |
ddddddddddddd | |
message In order to effectively evade the scientists, you may need to sacrafice some mass. | |
ddddddddddddd | |
d2dstttttaddd | |
ddsl.mmpmeadd | |
dsql.m....ead | |
dlcl.m.....xd | |
dl......&..xd | |
dl.i.......xd | |
dl.....i...xd | |
dlil.&.ttttad | |
dwfl....&igyd | |
ddwl.....gydd | |
dddwzzzzzyddd | |
ddddddddddddd | |
message You know what needs to happen, but how will you get through? | |
ddddddddddddd | |
d2dstttttaddd | |
ddsq....ceadd | |
dsqmm.i...ead | |
dlpmm...i..xd | |
dlm.......&xd | |
dlm...i..i.xd | |
dl&.i......xd | |
dl.......&.xd | |
dwf..&i...gyd | |
ddwf....&gydd | |
dddwzzzzzyddd | |
ddddddddddddd | |
message Great job! The Italian scientists zoom in to the maximum setting for their microscope. Don't give up now! | |
ddddddddddddd | |
d2dstatttaddd | |
ddsq.xi.meadd | |
dsq..x..mmead | |
dli....mpm.xd | |
dli..&..i..xd | |
dst..ttst.tad | |
dl.....l&..xd | |
dl...&.....xd | |
dwfi...l..gyd | |
ddwfi..lcgydd | |
dddwzzzwzyddd | |
ddddddddddddd | |
message The Italian scientists' microscope can no longer zoom any further! They have decided to send it to Japan to be examined under even higher quality microscopes. | |
message But zooming in farther you begin to notice small holes in the microscope slide from rough shipping and handling (did the delivery people not see the word fragile on the box?)... It might be best to avoid those... | |
message Your body is strong enough to hold mass over a hole, but if your main mass segment goes over, you will fall in. | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsqii...&eadd | |
dsq.....i..ead | |
dl.........ixd | |
dl..mm.....ixd | |
dl.stm.....ixd | |
dl&lpmo&...ixd | |
dl.wzz.....ixd | |
dlc........ixd | |
dwf......o.gyd | |
ddwfiiiiiigydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
message Or maybe don't avoid the holes. You can drop your mass into a hole using the action key and this will allow the player to move over the hole like solid ground. | |
message Japan level 2 placeholder (press x to skip) | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsq......eadd | |
dsq........ead | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dwf........gyd | |
ddwf......gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
(Japan level 3 placeholder) | |
message You start to wonder why these tests are being done on you, but before you can ponder that any further, the scientists move the hide again. | |
message Japan level 3 placeholder (press x to skip) | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsq......eadd | |
dsq........ead | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dwf........gyd | |
ddwf......gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
(Japan level 4 placeholder) | |
message Will there be any end to this? Will you just keep hiding without end? You don't want to do that. You just want to be left alone. | |
message Japan level 4 placeholder (press x to skip) | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsq......eadd | |
dsq........ead | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dwf........gyd | |
ddwf......gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
(Japan level 5 placeholder) | |
message Is there going to be an escape at some point? Maybe one the plates will have a hole in the edge to exit through. | |
message No time to think about that. Keep going. The tests can't go on forever. | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsqco...ieadd | |
dsq..o.....ead | |
dl.&ioi.....xd | |
dlommmi..&..xd | |
dl.mpmioooooxd | |
dl.mmmi..o..xd | |
dl.ooo......xd | |
dl.......iiixd | |
dwf......i.gyd | |
ddwfi....igydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
message Quick. Here is your chance. Before the scientists can stop you. Escape. | |
dddddddddddddd | |
d3dsttttttaddd | |
ddsqpm....eadd | |
dsq........ead | |
dl..........xd | |
dl..........xd | |
dl..........xd | |
dl..........ou | |
dl..........xd | |
dl..........xd | |
dwf........gyd | |
ddwf......gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
message You did it. You got out of the tests. You quickly find a spot in the lab to hide so the scientists can't find you. You still wonder why you were being tested. | |
message The Japanese scientists come back to the testing plate and find that you are no longer there. They start discussing what they are going to do now. Their research can't continue without a specimen to study. They contact the other scientists involved in the study and inform them of what happened. | |
message Without the specimen, the scientists decide they must halt all tests and give up their efforts as they will probably never find the specimen again after it has learned to hide so effectively. It's too bad. They were getting close to finding the most optimal strategy for hide in the game of Hide and Seek. | |
message Thanks for playing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment