Skip to content

Instantly share code, notes, and snippets.

@gmastr
Created April 9, 2021 10:40
Show Gist options
  • Save gmastr/47c623f7a194107bdee437e205ab2191 to your computer and use it in GitHub Desktop.
Save gmastr/47c623f7a194107bdee437e205ab2191 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
Lens
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
green #282828 #45782c
12221
20002
20002
22022
12221
Hide
green #474747
.111.
11011
10001
10101
.111.
HideWithCover
red #474747
.111.
11011
10001
10101
.111.
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
BridgeMass
#346417 black #355823
10001
00000
20002
22022
12221
Hole
black
00000
00000
00000
00000
00000
=======
LEGEND
=======
. = Background
P = Player
L = Lens
M = Mass
K = DroppedMass
& = Plate
H = Hide
O = Hole
C = HideWithCover
D = OutsideBackground
B = BridgeMass
I = Light
1 = France
2 = Italy
3 = Japan
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)
================
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 ]
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.
dddddddddddddd
d3ddlllllldddd
ddll..ll&illdd
ddl...m.&..ldd
dl.immm.o...ld
dl..mpmm.o..ld
dl.illlo&l..ld
dl...l&..l..ld
dl...i..il..ld
dl.....lll..ld
ddl..l.....ldd
ddll.l.c..lldd
ddddlllllldddd
dddddddddddddd
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