Skip to content

Instantly share code, notes, and snippets.

@gmastr
Created March 30, 2021 04:21
Show Gist options
  • Save gmastr/7c8b220813bf385621b9a24c92dd9a72 to your computer and use it in GitHub Desktop.
Save gmastr/7c8b220813bf385621b9a24c92dd9a72 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.
LensLeft
white #737373 #cdcdcd #eaeaea
02301
02301
02301
02301
02301
LensBottom
white #737373 #cdcdcd #eaeaea
00000
22222
33333
00000
11111
LensCorner
white #737373 #cdcdcd #eaeaea
02301
02301
02301
00001
11111
LensCornerL
white #737373 #cdcdcd #eaeaea
00001
22201
33301
00001
11111
LensCap
white #737373 #cdcdcd #eaeaea
00001
02301
02301
02301
02301
LensDefault
white #737373 #cdcdcd #eaeaea
00000
02222
02333
02300
02301
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 = LensBottom
R = LensCorner
Z = LensCornerL
L = LensLeft
F = LensDefault
X = LensCap
1 = France
2 = Italy
3 = Japan
Lens = LensDefault or LensLeft or LensBottom or LensCorner or LensCornerL or LensCap
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
d1ddtttrdddd
ddfr....tldd
ddr..p...rdd
dl........ld
dl........ld
dl........ld
dr........rd
ddl...h..ldd
ddtr....trdd
ddddtttrdddd
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
d1ddtttrdddd
ddfr....tldd
ddr......rdd
dl.&......ld
dl.......cld
dl........ld
dr........rd
ddl..mp..ldd
ddtr....trdd
ddddtttrdddd
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
d1ddtttrdddd
ddfr.&..tldd
ddr......rdd
dl......m.ld
dl......mpld
dl....&...ld
dr.c......rd
ddl......ldd
ddtr....trdd
ddddtttrdddd
dddddddddddd
message The scientists have now introduced obstacles between you and the hide that you must figure out how to get through.
dddddddddddd
d1ddtttrdddd
ddfr..&.tldd
ddlc.....ldd
dftttr.tttld
dl........ld
dl.m......ld
dr&pm.....rd
ddlm....&ldd
ddtr....trdd
ddddtttrdddd
dddddddddddd
message You can do it! Keep hiding!
dddddddddddd
d1ddttfrdddd
ddfr..l&tldd
ddrpm.r..rdd
dl.m......ld
dl.m.&l...ld
dl....l.&.ld
drc...l...rd
ddl...l..ldd
ddtr..l.trdd
ddddtttrdddd
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
d2ddttttrdddd
ddfr.....tldd
ddr.c.....rdd
dl........&ld
dl.........ld
dl....i....ld
dl..m......ld
dr..pm.&...rd
ddl.......ldd
ddtr.....trdd
ddddttttrdddd
ddddddddddddd
message As the Italian scientists switch lenses to zoom in further, more smudges focus light in different areas of the plate.
ddddddddddddd
d2ddtfttrdddd
ddfr&r.c.tldd
ddr...pm..rdd
dl....mmi..ld
dl...i.....ld
dl......&..ld
dl...r.r...ld
dr.........rd
ddl.&.....ldd
ddtr.....trdd
ddddttttrdddd
ddddddddddddd
message A level demonstrating holes
dddddddddddddd
d3ddtttttrdddd
ddfr......tldd
ddr........rdd
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dr..........rd
ddl........ldd
ddtr......trdd
ddddtttttrdddd
dddddddddddddd
(Italy template)
ddddddddddddd
d2ddttttrdddd
ddfr.....tldd
ddr.......rdd
dl.........ld
dl.........ld
dl.........ld
dl.........ld
dr.........rd
ddl.......ldd
ddtr.....trdd
ddddttttrdddd
ddddddddddddd
(Japan template)
dddddddddddddd
d3ddtttttrdddd
ddfr......tldd
ddr........rdd
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dl..........ld
dr..........rd
ddl........ldd
ddtr......trdd
ddddtttttrdddd
dddddddddddddd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment