forked from ncase/anxiety
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
339 lines (290 loc) · 11.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html>
<head>
<!-- THE BIG META -->
<title>¡Aventuras con la ansiedad!</title> <!-- TRANSLATE -->
<meta name="description" content="Una historia interactiva sobre una humana y su ansiedad. Tú eres la ansiedad." /> <!-- TRANSLATE: content -->
<link rel="icon" type="image/png" href="favicon.png">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ncasenmare">
<meta name="twitter:title" content="¡Aventuras con la ansiedad!"> <!-- TRANSLATE: content -->
<meta name="twitter:description" content="Una historia interactiva sobre una humana y su ansiedad. Tú eres la ansiedad."> <!-- TRANSLATE: content -->
<meta name="twitter:image" content="https://ncase.me/anxiety/sharing/thumb.png">
<!-- Open Graph data -->
<meta property="og:title" content="¡Aventuras con la ansiedad!"> <!-- TRANSLATE: content -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://ncase.me/anxiety/">
<meta property="og:image" content="https://ncase.me/anxiety/sharing/thumb.png">
<meta property="og:description" content="Una historia interactiva sobre una humana y su ansiedad. Tú eres la ansiedad."> <!-- TRANSLATE: content -->
<meta property="og:site_name" content="¡Aventuras con la ansiedad!"> <!-- TRANSLATE: content -->
<!-- Styles -->
<link rel="stylesheet" type="text/css" href="styles/game.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!-- - - - - - - - - - - - - - - - - - -->
<!-- THE GAME ITSELF, FRONT AND CENTER -->
<!-- - - - - - - - - - - - - - - - - - -->
<div id="game_container">
<!-- The main game -->
<canvas id="game_canvas"></canvas>
<div id="game_words"></div>
<div id="game_hp"></div>
<div id="game_choices"></div>
<!-- Click to Advance-->
<div id="click_to_advance">
<span id="cta_text1">
<div class="mini-icon" pic="click" style="top:3px;"></div>
<span id="instructions_if_not_mobile">
clic izquierdo o barra espaciadora <!-- TRANSLATE THIS -->
</span>
<span id="instructions_if_mobile" style="display:none">
toca la pantalla <!-- TRANSLATE THIS -->
</span>
</span>
<span id="cta_text2">
<div class="mini-icon" pic="next"></div>
</span>
</div>
<!-- HACK: SPECIAL ATTACK -->
<div id="special_attack"></div>
<!-- Bottom Corner Tabs -->
<div id="gear" style="display:none" onclick="publish('show_options'); sfx('ui_button1');">
<div class="icon">
<div class="mini-icon" pic="gear"></div>
</div>
</div>
<div id="huh" style="display:none">
<div class="icon">
<div class="mini-icon" pic="about"></div>
</div>
</div>
<!-- Paused Screen -->
<div id="paused">
<div>
<!-- TRANSLATE THIS -->
pausa
<div>haz clic para volver a entrar en pánico</div>
</div>
</div>
<!-- LOADING -->
<div id="loading">
<div id="loading_bar">
<div id="loading_bar_bg"></div>
<div id="loading_pic"></div>
</div>
</div>
<!-- CONTENT NOTES -->
<div id="content_notes">
<!-- TRANSLATE THIS -->
<p style="margin-top: 0.6em;">
<i style="color:#ff4040">Aventuras con la ansiedad</i> va, pues, sobre la ansiedad.
</p>
<p>
Pero he hecho esto <i>para</i> la gente con trastorno de ansiedad, como yo.
Espero que te ayude a ver, con algo de humor, cómo funciona la ansiedad.
Y, con algo de suerte, reducir tu miedo al miedo.
</p>
<p>
También hay monigotes mal dibujados y un lobo hiperactivo.
¡Que lo disfrutes!
</p>
<p style="color:#999; font-size: 16px; line-height: 1.3em;">
otras notas: abuso de alcohol, sexualidad<span class="hide-if-cuss-free">, un @✩$!& de palabrotas</span>
</p>
<p>
<a target="_blank" href="https://ncase.me/mental-health/">recursos y consejos sobre la salud mental</a>
🔗
</p>
<div id="cn_ok" onclick="publish('hide_cn');" style="float:none">
vale <div class="mini-icon" pic="ok" style="top: 3px;"></div>
</div>
</div>
<!-- ABOUT -->
<div id="about"><!-- about=yes-->
<div id="about_words">
<!-- TRANSLATE THIS -->
<div style="font-size: 40px; margin-top: 42px; line-height: 30px;">
recursos sobre la
<a href="https://ncase.me/mental-health/" target="_blank">salud mental</a>
</div>
<div style="margin-top: 26px; color: #999;">
— o —
</div>
<div style="font-size: 25px; text-align: left; width: 170px;
margin-left: 165px; line-height: 25px; margin-top: 31px;">
<!-- TRANSLATE ALL THIS -->
<div>
juega más
<a href="https://ncase.me" target="_blank">coshash míash</a>
</div>
<div style="margin-top: 32px;">
tírame monedas<br>a la cara
<a href="https://www.patreon.com/ncase" target="_blank">en Patreon</a>
</div>
<div style="margin-top: 28px;">
satisface a tus oídos con la banda sonora
<a href="https://chezmonplaisir.bandcamp.com/album/anxiety" target="_blank">original de Monplaisir</a>
</div>
</div>
<div id="replay"></div>
<div style="clear:both;"></div>
<div id="close_about" style="margin: 0; float: right; margin-top: 20px;">cerrar</div> <!-- TRANSLATE -->
</div>
</div>
<!-- OPTIONS -->
<div id="options">
<div style="width: 150px; height: 63px; float: left;">
<div id="text_speed_preview"></div>
<input id="text_speed_slider" type="range" min=0 value=0.5 max=1 step="0.01"/>
</div>
<div style="float: right; width: 135px; height: 63px;">
<!-- TRANSLATE THIS -->
Avanza
<div id="text_automatic_toggle">haciendo clic</div>
</div>
<div style="clear:both"></div>
<span id="volume_options">
<div>Volumen:</div> <!-- TRANSLATE -->
<input id="volume_slider" type="range" min=0 max=1 value=1 step="0.01"/>
</span>
<div id="options_ok">
vale <div class="mini-icon" pic="ok" style="top: 3px;"></div> <!-- TRANSLATE -->
</div>
</div>
<!-- Dialogue position debugging elements -->
<div class='debug' style='position: absolute; width: 5px; height: 250px; background: red;'></div>
<div class='debug' style='position: absolute; width: 5px; height: 80px; background: white;'></div>
</div>
<div class="debug" id="section_debug_list"></div>
<!-- - - - - - - - - - - - - - - - - - -->
<!-- SHTUFF IN THE CORNER - - - - - - - -->
<!-- - - - - - - - - - - - - - - - - - -->
<!-- TRANSLATE ALL OF THIS -->
<div class="corner-text" id="topleft">
Creado por
<a href="https://ncase.me/" target="_blank">Nicky Case</a>
<br>
Música de
<a href="https://loyaltyfreakmusic.com" target="_blank">Monplaisir</a>
<br>
Programación extra por
<a href="https://spacie.me/" target="_blank">Spacie</a>
<br>
Traducción de
<a href="https://twitter.com/jorgeygari" target="_blank">Jorge Lázaro Ruiz</a>
<br>
Testeo por
<a href="https://twitter.com/IagoParis" target="_blank">IagoParis</a>
<br>
<a href="https://github.com/ncase/anxiety#full-credits" target="_blank">Créditos completos</a>
<br><br>
Versión original
<br>
<a href="https://ncase.me/anxiety/">English</a>
<br><br>
¡Otras traducciones extraoficiales!
<br>
<a href="//notdotteam.github.io/anxiety/">Русский</a>
<br>
<a href="https://lucasgcb.github.io/anxiety/">Português do Brasil</a>
<br>
<a href="https://jonasreich.github.io/anxiety/">Deutsch</a>
<br>
...
<br>
<a href="https://github.com/ncase/anxiety#how-to-translate" target="_blank">(¿quieres ayudarnos?)</a>
</div>
<div class="corner-text" id="bottomleft">
<img src="sprites/about/cc0.png" height="30" style="opacity:0.7"/>
<br>
¡Eres libre de reutilizar o remezclar esto para lo que quieras!
<a href="https://github.com/ncase/anxiety#public-domain" target="_blank">(¿qué?)</a>
<br>
<a href="https://github.com/ncase/anxiety" target="_blank">Código fuente completo</a>
</div>
<div class="corner-text" id="topright">
Compártelo en una aplicación de ansiedad:
<span id="sharing_title">
¡Aventuras con la ansiedad!
</span>
<span id="sharing_desc">
Acabo de jugar esta historia interactiva sobre una humana y su ansiedad. Tú eres la ansiedad. 😱
</span>
<div id="share">
<a id="share_link_fb" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fncase.me%2Fanxiety%2F" target="_blank" class="no_deco">
<div id="share_fb"></div>
</a>
<a id="share_link_tw" href="https://twitter.com/intent/tweet?source=https%3A%2F%2Fncase.me%2Fanxiety%2F&text=I%20just%20played%20this%20story-game%20about%20a%20human%20and%20their%20anxiety!%20You%20play%20*as*%20the%20anxiety.%20%F0%9F%98%B1%20https%3A%2F%2Fncase.me%2Fanxiety%2F"
target="_blank" class="no_deco">
<div id="share_tw"></div>
</a>
<a id="share_link_em" href="mailto:?subject=Adventures%20with%20Anxiety!&body=I%20just%20played%20this%20story-game%20about%20a%20human%20and%20their%20anxiety!%20You%20play%20*as*%20the%20anxiety.%20%F0%9F%98%B1%20https%3A%2F%2Fncase.me%2Fanxiety%2F"
target="_blank" class="no_deco">
<div id="share_em"></div>
</a>
</div>
<br>
Para que compartas a tu gusto:<br>
<a href="sharing" target="_blank">Vídeos y miniaturas</a>
</div>
<div class="corner-text" id="bottomright">
<a href="https://ncase.me/mental-health/" target="_blank">Recursos y consejos sobre la salud mental</a>
<span class="hide-if-cuss-free">
<br><br>
<a href="?c=1">Modo sin palabrotas</a><br>
(para docentes que no quieran una reunión de padres incómoda)
</span>
</div>
</body>
</html>
<!-- SCRIPTS -->
<script src="scripts/lib/createImageBitmap.js"></script>
<script src="scripts/lib/tickable_observer.js"></script>
<script src="scripts/lib/helpers.js"></script>
<script src="scripts/lib/rsvp.min.js"></script>
<script src="scripts/lib/minpubsub.min.js"></script>
<script src="scripts/lib/howler.min.js"></script>
<script src="scripts/game/Loader.js"></script>
<script src="scripts/game/Game.js"></script>
<script src="scripts/game/Sprite.js"></script>
<script src="scripts/game/HP.js"></script>
<script src="scripts/game/BG_Anxiety.js"></script>
<script src="scripts/game/Character.js"></script>
<script src="scripts/game/Sounds.js"></script>
<script src="scripts/game/Options.js"></script>
<script src="scripts/game/About.js"></script>
<script src="scripts/game/ContentNotes.js"></script>
<script src="scripts/game/Sharing.js"></script>
<!-- INTRO -->
<script src="scripts/intro/Intro_SceneSetup.js"></script>
<script src="scripts/intro/Intro_BG.js"></script>
<!-- ACT I -->
<script src="scripts/act1/Act1_SceneSetup.js"></script>
<script src="scripts/act1/Act1_Hong.js"></script>
<script src="scripts/act1/Act1_Beebee.js"></script>
<script src="scripts/act1/Act1_Outro_BG.js"></script>
<!-- ACT II -->
<script src="scripts/act2/Act2_SceneSetup.js"></script>
<script src="scripts/act2/Act2_BG.js"></script>
<script src="scripts/act2/Act2_Hong.js"></script>
<script src="scripts/act2/Act2_Beebee.js"></script>
<!-- ACT III -->
<script src="scripts/act3/Act3_SceneSetup.js"></script>
<script src="scripts/act3/Act3_BG.js"></script>
<script src="scripts/act3/Act3_Hong.js"></script>
<script src="scripts/act3/Act3_Beebee.js"></script>
<!-- ACT IV -->
<script src="scripts/act4/Act4_SceneSetup.js"></script>
<script src="scripts/act4/Act4_BG.js"></script>
<script src="scripts/act4/Act4_Hong.js"></script>
<script src="scripts/act4/Act4_Beebee.js"></script>
<!-- CREDITS -->
<script src="scripts/credits/Credits_SceneSetup.js"></script>
<script src="scripts/credits/Credits_BG.js"></script>
<!-- INTERMISSION -->
<script src="scripts/intermission/Intermission_SceneSetup.js"></script>
<script src="scripts/intermission/Intermission_BG.js"></script>
<!-- LET'S GO! -->
<script src="scripts/main.js"></script>