Skip to content

Instantly share code, notes, and snippets.

@gmastr
Created March 21, 2021 03:22
Show Gist options
  • Save gmastr/122dec7489eb2449dc83da967d3044b5 to your computer and use it in GitHub Desktop.
Save gmastr/122dec7489eb2449dc83da967d3044b5 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
========
Background
gray
00000
00000
00000
00000
00000
Plate
#595959 darkgray #363636 #424242
00003
01112
01112
01112
32222
LensLeft
white #737373
00001
00001
00001
00001
00001
LensBottom
white #737373
00000
00000
00000
00000
11111
LensLB
white #737373
00001
00001
00001
00001
11111
LensDefault
white
00000
00000
00000
00000
00000
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
Hide
green #474747
.111.
11011
10001
10101
.111.
HideWithCover
red #474747
.111.
11011
10001
10101
.111.
OutsideBackground
black
00000
00000
00000
00000
00000
OutsideShadow
#121212
00000
00000
00000
00000
00000
Light
#b3ad7b #d1ce7b #fff78c white
01210
12321
23332
12321
01210
France
blue white red #262626
01233
01233
01233
33333
33333
Italy
green white red #262626
33333
01233
01233
01233
33333
Japan
white red black #737373
33333
32222
32000
32010
32000
Label
black #737373
11111
00000
00000
01011
00000
GlassTop
black white
11111
00000
00000
00000
00000
GlassLeft
black white
10000
10000
10000
10000
10000
GlassShine
black white
00000
01011
01011
00000
00000
BridgeMass
green #333333 #45782c #365e22
12221
00000
20002
22022
12221
Hole
#5c5c5c #333333 #202020
00000
01111
01222
01222
01222
=======
LEGEND
=======
. = Background
P = Player
F = LensDefault
L = LensLeft
T = LensBottom
A = LensLB
M = Mass
K = DroppedMass
& = Plate
H = Hide
O = Hole
C = HideWithCover
D = OutsideBackground
S = OutsideShadow
B = BridgeMass
I = Light
1 = France
2 = Italy
3 = Japan
4 = Label
5 = GlassTop
6 = GlassLeft
7 = GlassShine
Glass = GlassTop or GlassLeft or GlassShine
Lens = LensDefault or LensLeft or LensBottom or LensLB
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, Label, Glass
Plate, OutsideBackground, OutsideShadow, 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.
555555555555555555556
634ddddtttttaddddddd6
67dddta......taddddd6
6dddl..........ldddd6
6ddda...ttta...adddd6
6ddl...a....a...lddd6
6ddlm.l..ta..l..lddd6
6ddlpml.l.cl.l..lddd6
6ddl..l.a..a.l..lddd6
6ddl..a..ta..a..lddd6
6dda...a....a...addd6
6dddl.o.ttta...ldddd6
6ddda...&......adddd6
6ddddta......taddddd6
6ddddddtttttaddddd7d6
6ddddddddddddddddddd6
55555555555555555555d
dddddddddddd
d1ddlllldddd
ddll....lldd
ddl..p...ldd
dl........ld
dl........ld
dl........ld
dl........ld
ddl...h..ldd
ddll....lldd
ddddlllldddd
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
d1ddlllldddd
ddll....lldd
ddl......ldd
dl.&......ld
dl.......cld
dl........ld
dl........ld
ddl..mp..ldd
ddll....lldd
ddddlllldddd
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
d1ddlllldddd
ddll.&..lldd
ddl......ldd
dl......m.ld
dl......mpld
dl....&...ld
dl.c......ld
ddl......ldd
ddll....lldd
ddddlllldddd
dddddddddddd
message The scientists have now introduced obstacles between you and the hide that you must figure out how to get through.
dddddddddddd
d1ddlllldddd
ddll..&.lldd
ddlc.....ldd
dlllll.lllld
dl........ld
dl.m......ld
dl&pm.....ld
ddlm....&ldd
ddll....lldd
ddddlllldddd
dddddddddddd
message You can do it! Keep hiding!
dddddddddddd
d1ddlllldddd
ddll..l&lldd
ddlpm.l..ldd
dl.m......ld
dl.m.&l...ld
dl....l.&.ld
dlc...l...ld
ddl...l..ldd
ddll..l.lldd
ddddlllldddd
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
d2ddllllldddd
ddll.....lldd
ddl.c.....ldd
dl........&ld
dl.........ld
dl....i....ld
dl..m......ld
dl..pm.&...ld
ddl.......ldd
ddll.....lldd
ddddllllldddd
ddddddddddddd
message As the Italian scientists switch lenses to zoom in further, more smudges focus light in different areas of the plate.
ddddddddddddd
d2ddllllldddd
ddll&l.c.lldd
ddl...pm..ldd
dl....mmi..ld
dl...i.....ld
dl......&..ld
dl...l.l...ld
dl.........ld
ddl.&.....ldd
ddll.....lldd
ddddllllldddd
ddddddddddddd
message A level demonstrating holes
dddddddddddddd
d3ddlllllldddd
ddll......lldd
ddl.&......ldd
dl........c.ld
dl.....o....ld
dl...mm.....ld
dl...pm.....ld
dl..........ld
dl..........ld
ddl......&.ldd
ddll......lldd
ddddlllllldddd
dddddddddddddd
(Italy template)
ddddddddddddd
d2ddllllldddd
ddll.....lldd
ddl.......ldd
dl.........ld
dl.........ld
dl.........ld
dl.........ld
dl.........ld
ddl.......ldd
ddll.....lldd
ddddllllldddd
ddddddddddddd
(Japan template)
dddddddddddddd
d3ddlllllldddd
ddll......lldd
ddl........ldd
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dl..........ld
ddl........ldd
ddll......lldd
ddddlllllldddd
dddddddddddddd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment