Skip to content

Instantly share code, notes, and snippets.

@gmastr
Created March 30, 2021 05:19
Show Gist options
  • Save gmastr/5e7cea682a21e385f27865282d915259 to your computer and use it in GitHub Desktop.
Save gmastr/5e7cea682a21e385f27865282d915259 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 GECKO
homepage www.puzzlescript.net
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
#595959 darkgray #363636 #424242
00003
01112
01112
01112
32222
Hole
#5c5c5c #333333 #202020
00000
01111
01222
01222
01222
Hide
green #474747
.111.
11011
10001
10101
.111.
HideWithCover
red #474747
.111.
11011
10001
10101
.111.
LensVert
white #737373 #cdcdcd #eaeaea
02301
02301
02301
02301
02301
LensHoriz
white #737373 #cdcdcd #eaeaea
00000
22222
33333
00000
11111
LensCapB
white #737373 #cdcdcd #eaeaea
02301
02301
02301
00001
11111
LensCapR
white #737373 #cdcdcd #eaeaea
00001
22201
33301
00001
11111
LensCapT
white #737373 #cdcdcd #eaeaea
00001
02301
02301
02301
02301
LensCapL
white #737373 #cdcdcd #eaeaea
00000
02222
02333
00000
11111
LensCornerUR
white #737373 #cdcdcd #eaeaea
00000
02222
02333
02300
02301
LensCornerUL
white #737373 #cdcdcd #eaeaea
00001
22201
33301
02301
02301
LensCornerBL
white #737373 #cdcdcd #eaeaea
02300
02322
02333
00000
11111
LensCornerBR
white #737373 #cdcdcd #eaeaea
02301
22301
33301
00001
11111
LensSolo
white #737373 #cdcdcd #eaeaea
00001
02201
02301
00001
11111
Background
gray
00000
00000
00000
00000
00000
OutsideBackground
black
00000
00000
00000
00000
00000
Light
#b3ad7b #d1ce7b #fff78c white
01210
12321
23332
12321
01210
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
=======
LEGEND
=======
. = Background
D = OutsideBackground
P = Player
M = Mass
K = DroppedMass
I = Light
& = Plate
O = Hole
B = BridgeMass
H = Hide
C = HideWithCover
T = LensHoriz
L = LensVert
W = LensCapT
X = LensCapB
Y = LensCapL
Z = LensCapR
U = LensCornerUR
S = LensCornerUL
Q = LensCornerBL
A = LensCornerBR
E = LensSolo
1 = France
2 = Italy
3 = Japan
Lens = LensSolo or LensVert or LensHoriz or LensCapL or LensCapR or LensCapT or LensCapB or LensCornerUR or LensCornerUL or LensCornerBL or LensCornerBR
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
======
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
=======
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 your arrow keys to get into the hiding spot.
dddddddddddd
d1ddyttzdddd
dduz....ysdd
ddx..p...xdd
dw........wd
dl........ld
dl........ld
dx........ld
ddw...h..wdd
ddqz....yadd
ddddyttzdddd
dddddddddddd
message Congratulations! You have hidden successfully, but the scientists have removed your 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
d1ddyttzdddd
dduz....ysdd
ddx......xdd
dw.&......wd
dl.......cld
dl........ld
dx........xd
ddw..mp..wdd
ddqz....yadd
ddddyttzdddd
dddddddddddd
message Yet again, the scientists have moved your hide 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 to the player and moved.
dddddddddddd
d1ddyttzdddd
dduz.&..ysdd
ddx......xdd
dw......m.wd
dl......mpld
dl....&...ld
dx.c......xd
ddw......wdd
ddqz....yadd
ddddyttzdddd
dddddddddddd
message The scientists have now introduced obstacles between you and the hide that you must figure out how to get through.
dddddddddddd
d1ddyttzdddd
dduz..&.ysdd
ddlc.....ldd
dutttz.yttsd
dl........ld
dl.m......ld
dx&pm.....xd
ddwm....&wdd
ddqz....yadd
ddddyttzdddd
dddddddddddd
message You can do it! Keep hiding!
dddddddddddd
d1ddyttzdddd
dduz..l&ysdd
ddxpm.x..xdd
dw.m......wd
dl.m.&w...ld
dl....l.&.ld
dxc...l...xd
ddw...l..wdd
ddqz..l.yadd
ddddyttzdddd
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
d2ddytttzdddd
dduz.....ysdd
ddx.c.....xdd
dw........&wd
dl.........ld
dl....i....ld
dl..m......ld
dx..pm.&...xd
ddw.......wdd
ddqz.....yadd
ddddytttzdddd
ddddddddddddd
message As the Italian scientists switch lenses to zoom in further, more smudges focus light in different areas of the plate.
ddddddddddddd
d2ddytttzdddd
dduz&e.c.ysdd
ddx...pm..xdd
dw....mmi..wd
dl...i.....ld
dl......&..ld
dl...e.e...ld
dx.........xd
ddw.&.....wdd
ddqz.....yadd
ddddytttzdddd
ddddddddddddd
message In order to effectively hide, no mass can be sticking off the player and out of the hide.
ddddddddddddd
d2ddytttzdddd
dduz.mmpmysdd
ddxw..m...xdd
dwcl..m....wd
dl.x....&..ld
dl.........ld
dl.........ld
dxiw&..yttsxd
ddwx....&ildd
ddqz.....yadd
ddddytttzdddd
ddddddddddddd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment