Created
April 26, 2021 15:21
-
-
Save ElliottSchultz/e1ea8b1895bfe1f55a6f1ba7b1efbeaf 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 | |
#44662e #435d37 #3a5729 #394e2e | |
22222 | |
20000 | |
30001 | |
31011 | |
31111 | |
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. | |
HideWithCoverOnSide | |
red #474747 | |
.111. | |
10011 | |
11001 | |
10011 | |
.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 | |
One | |
black white | |
00010 | |
00110 | |
00010 | |
00010 | |
00010 | |
Two | |
black white | |
00110 | |
01001 | |
00010 | |
00100 | |
01111 | |
Three | |
black white | |
00110 | |
01001 | |
00010 | |
01001 | |
00110 | |
Four | |
black white | |
00011 | |
00101 | |
01111 | |
00001 | |
00001 | |
Five | |
black white | |
01111 | |
01110 | |
00001 | |
01001 | |
00110 | |
======= | |
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 | |
R = HideWithCoverOnSide | |
1 = One | |
2 = Two | |
3 = Three | |
4 = Four | |
5 = Five | |
6 = France | |
7 = Italy | |
8 = 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 | |
Number = One or Two or Three or Four or Five | |
======= | |
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, Number | |
Plate, OutsideBackground, BridgeMass | |
Player, Lens, Mass, DroppedMass, HideWithCover, HideWithCoverOnSide | |
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 observed through a microscope by French scientists, who are studying you for your uncanny ability to hide. | |
message Your ability to hide is so well-developed due to your reclusive nature. Despite your wishes to remain unseen, you are, currently, very much being seen. | |
message Use the arrow keys to get into the hiding spot and away from prying eyes. | |
dddddddddddd | |
d6ddsttadddd | |
ddstq..etadd | |
ddl..p...xdd | |
dsq......ead | |
dl........xd | |
dl........xd | |
dwf......gyd | |
ddl...h..xdd | |
ddwzf..gzydd | |
ddddwzzydd1d | |
dddddddddddd | |
message Congratulations! You have hidden successfully, but the scientists have removed your hiding spot and placed a smaller one elsewhere, locking it with weighted pressure plates. | |
message The scientists zoom in to more clearly define your shape, and notice that your body is made of segmented mass. | |
message You think your mass is heavy enough to weigh down the pressure plates, and hopefully unlock your hiding spot. Press the action key (space or x) while your mass is on a pressure plate to drop it. | |
message Once dropped, your mass cannot be moved. | |
dddddddddddd | |
d6ddsttadddd | |
ddstq..etadd | |
ddl......xdd | |
dsq&.....ead | |
dl.......cxd | |
dl........xd | |
dwf......gyd | |
ddl..mp..xdd | |
ddwzf..gzydd | |
ddddwzzydd2d | |
dddddddddddd | |
message Yet again, the scientists have placed a smaller hiding spot on the microscope slide and zoomed in. They have also placed even more pressure plates locking your hiding spot. | |
message Keep hiding! You can do it! | |
dddddddddddd | |
d6ddsttadddd | |
ddstq&.etadd | |
ddl......xdd | |
dsq.....mead | |
dl......mpxd | |
dl....&...xd | |
dwfc.....gyd | |
ddl......xdd | |
ddwzf..gzydd | |
ddddwzzydd3d | |
dddddddddddd | |
message The scientists have now introduced barriers between you and your hiding spot that you must figure out how to get through. | |
dddddddddddd | |
d6ddsttadddd | |
ddstq.&etadd | |
ddlc.....xdd | |
dstttt.tttad | |
dl........xd | |
dl&m......xd | |
dwfpm....gyd | |
ddlm...&.xdd | |
ddwzf..gzydd | |
ddddwzzydd4d | |
dddddddddddd | |
message When your massed is dropped, any mass not connected to you can be reattached and moved. | |
dddddddddddd | |
d6dsttataddd | |
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 | |
dddwzzyzyd5d | |
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 sent over samples to be analyzed through more advanced microscopes. | |
message But there is a smudge on the lens, focusing light on a spot on the sample plate. | |
message You are extremely sensitive to light. Any of your mass that comes into contact with light will be incinerated. | |
ddddddddddddd | |
d7dstttttaddd | |
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 | |
d7dstatttaddd | |
ddsq&x.c.eadd | |
dsq.pm....ead | |
dl..mm..i..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 watching eyes of the scientists, you may need to sacrifice some mass. | |
ddddddddddddd | |
d7dstttttaddd | |
ddsl.mmpmeadd | |
dsql.m&...ead | |
dlcl.m.....xd | |
dl......&..xd | |
dl.i...i...xd | |
dl.........xd | |
dlil.&.ttttad | |
dwfl....&igyd | |
ddwl....igydd | |
dddwzzzzzyddd | |
ddddddddddddd | |
message You know what needs to happen, but how will you get through? | |
ddddddddddddd | |
d7dstttttaddd | |
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 | |
d7dstatttaddd | |
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, the scientists notice small holes in the microscope slide from rough shipping and handling. Did the delivery people not see the word "fragile" on the box? | |
message Your body is strong enough to hold your extra mass over a hole, but if your main mass segment goes over, you will fall in. | |
dddddddddddddd | |
d8dsttttttaddd | |
ddsqii...&eadd | |
dsq.....i..ead | |
dl.........ixd | |
dl..mm.....ixd | |
dl.stm.....ixd | |
dl&lpmo&...ixd | |
dl.wzz.....ixd | |
dl.c.......ixd | |
dwf......o.gyd | |
ddwfiiiiiigydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
message What if these holes aren't so bad after all? Maybe your extra mass could be useful; these holes don't seem too deep. | |
message Try pressing the action key (space or x) when part of your mass is over a hole. | |
dddddddddddddd | |
d8dsttttttaddd | |
ddsq......eadd | |
dsq...x....ead | |
dlii.oettattad | |
dl&.o.&.ix..xd | |
dl&mm.o..x.cxd | |
dlmmm.x&....xd | |
dl.mp.xti.ttad | |
dl.mm.x.....xd | |
dwf.i......gyd | |
ddwf..x...gydd | |
dddwzzyzzzyddd | |
dddddddddddddd | |
message You start to wonder why these tests are being done on you. Why must you continue this never ending hiding game? | |
message Before you can ponder this further, the scientists move your hiding spot once more. Better keep going, then. | |
dddddddddddddd | |
d8dsttttttaddd | |
ddsq&.....eadd | |
dsq...&&..iead | |
dl........mmxd | |
dliii...o.mmxd | |
dloo....ommpxd | |
dlco..i.o.mmxd | |
dloo....o...xd | |
dliii......ixd | |
dwf.....iiigyd | |
ddwf&....&gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
(Japan level 4 placeholder) | |
message Will there be any end to this testing? Will you be forced to keep hiding forever? You don't want to do that. You just want to be left alone. | |
message Japan level 4 placeholder (press x to skip) | |
dddddddddddddd | |
d8dsttttttaddd | |
ddsq&....&eadd | |
dsq........ead | |
dl.i.i......xd | |
dl.mmmi.....xd | |
dlm.cm.....&xd | |
dlpmmmi.....xd | |
dl.i.i......xd | |
dl..........xd | |
dwf........gyd | |
ddwf&....&gydd | |
dddwzzzzzzyddd | |
dddddddddddddd | |
message You begin to formulate an escape plan in your microscopic head. Maybe one the plates will have a crack in the edge you can exit through? | |
message No time to think about that. Keep going. The tests can't go on forever. | |
dddddddddddddd | |
d8dsttttttaddd | |
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 CRASH! | |
message When handling the microscope slide you are being tested on, a scientist accidentally drops it and a giant crack spreads through the glass. | |
message Quick! Here is your chance, before the scientists can stop you. Escape! | |
dddddddddddddd | |
d8dsttttttaddd | |
ddsqpm....eadd | |
dsq.mm...r.ead | |
dl..........xd | |
dloooo......xd | |
dl....ooo...yd | |
dl.o.....oooou | |
dlo.oo..o..oad | |
dl....oo..gzyd | |
dwf.o..gf.xdd. | |
ddwf...eqgy.dd | |
dddwzzzzzydd.d | |
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 pick up 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. | |
message It's too bad. They were getting close to finding the most optimal strategy for hiding 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