Skip to content

Instantly share code, notes, and snippets.

@ElliottSchultz
Created April 7, 2021 15:50
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 ElliottSchultz/a12f0f43a8c8c5410de164ebe6e6b41f to your computer and use it in GitHub Desktop.
Save ElliottSchultz/a12f0f43a8c8c5410de164ebe6e6b41f to your computer and use it in GitHub Desktop.
HIDE?. (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
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
00.00
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 64631908
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 scientist 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 I think you know what needs to happen.
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
(Italy level 5 placeholder)
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.
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)
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)
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)
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 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 Win.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment