anxiety/index.html

320 lines
11 KiB
HTML
Raw Normal View History

2019-02-11 17:04:23 +00:00
<!DOCTYPE html>
<html>
<head>
2019-05-06 16:20:09 +00:00
<!-- THE BIG META -->
2019-09-18 16:26:08 +00:00
<title>Adventures With Anxiety!</title> <!-- TRANSLATE -->
<meta name="description" content="A story-game about a human and their anxiety. You play as the anxiety." /> <!-- TRANSLATE: content -->
2019-05-06 16:20:09 +00:00
<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">
2019-09-18 16:26:08 +00:00
<meta name="twitter:title" content="Adventures With Anxiety!"> <!-- TRANSLATE: content -->
<meta name="twitter:description" content="A story-game about a human and their anxiety. You play as the anxiety."> <!-- TRANSLATE: content -->
2019-09-10 16:57:05 +00:00
<meta name="twitter:image" content="https://ncase.me/anxiety/sharing/thumb.png">
2019-05-06 16:20:09 +00:00
<!-- Open Graph data -->
2019-09-18 16:26:08 +00:00
<meta property="og:title" content="Adventures With Anxiety!"> <!-- TRANSLATE: content -->
2019-05-06 16:20:09 +00:00
<meta property="og:type" content="website">
2019-09-10 16:57:05 +00:00
<meta property="og:url" content="https://ncase.me/anxiety/">
<meta property="og:image" content="https://ncase.me/anxiety/sharing/thumb.png">
2019-09-18 16:26:08 +00:00
<meta property="og:description" content="A story-game about a human and their anxiety. You play as the anxiety."> <!-- TRANSLATE: content -->
<meta property="og:site_name" content="Adventures With Anxiety!"> <!-- TRANSLATE: content -->
2019-05-06 16:20:09 +00:00
<!-- Styles -->
2019-02-17 21:54:29 +00:00
<link rel="stylesheet" type="text/css" href="styles/game.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
2019-05-06 16:20:09 +00:00
2019-02-11 17:04:23 +00:00
</head>
<body>
2019-09-10 16:57:05 +00:00
<!-- - - - - - - - - - - - - - - - - - -->
<!-- THE GAME ITSELF, FRONT AND CENTER -->
<!-- - - - - - - - - - - - - - - - - - -->
2019-02-11 17:04:23 +00:00
<div id="game_container">
2019-04-29 15:35:25 +00:00
<!-- The main game -->
2019-02-12 19:59:45 +00:00
<canvas id="game_canvas"></canvas>
2019-02-20 20:22:23 +00:00
<div id="game_words"></div>
2019-02-17 21:54:29 +00:00
<div id="game_hp"></div>
2019-02-20 20:22:23 +00:00
<div id="game_choices"></div>
2019-04-29 15:35:25 +00:00
2019-05-02 15:55:41 +00:00
<!-- Click to Advance-->
<div id="click_to_advance">
2019-05-05 19:56:00 +00:00
<span id="cta_text1">
<div class="mini-icon" pic="click" style="top:3px;"></div>
2019-09-17 14:24:40 +00:00
<span id="instructions_if_not_mobile">
2019-09-18 16:26:08 +00:00
click or spacebar <!-- TRANSLATE THIS -->
2019-09-17 14:24:40 +00:00
</span>
<span id="instructions_if_mobile" style="display:none">
2019-09-18 16:26:08 +00:00
tap anywhere <!-- TRANSLATE THIS -->
2019-09-17 14:24:40 +00:00
</span>
2019-05-05 19:56:00 +00:00
</span>
<span id="cta_text2">
<div class="mini-icon" pic="next"></div>
</span>
2019-05-02 15:55:41 +00:00
</div>
2019-06-12 19:08:32 +00:00
<!-- HACK: SPECIAL ATTACK -->
<div id="special_attack"></div>
2019-04-29 15:35:25 +00:00
<!-- Bottom Corner Tabs -->
2019-09-10 13:57:02 +00:00
<div id="gear" style="display:none" onclick="publish('show_options'); sfx('ui_button1');">
2019-05-05 19:56:00 +00:00
<div class="icon">
<div class="mini-icon" pic="gear"></div>
</div>
2019-04-29 15:35:25 +00:00
</div>
2019-09-07 21:19:53 +00:00
<div id="huh" style="display:none">
2019-05-05 19:56:00 +00:00
<div class="icon">
<div class="mini-icon" pic="about"></div>
</div>
2019-04-29 15:35:25 +00:00
</div>
<!-- Paused Screen -->
2019-02-20 18:45:23 +00:00
<div id="paused">
<div>
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE THIS -->
2019-02-20 18:45:23 +00:00
paused
2019-04-09 18:59:19 +00:00
<div>click anywhere to keep freaking out</div>
2019-02-20 18:45:23 +00:00
</div>
</div>
2019-04-29 15:35:25 +00:00
2019-04-29 19:19:44 +00:00
<!-- LOADING -->
<div id="loading">
2019-05-05 19:56:00 +00:00
<div id="loading_bar">
<div id="loading_bar_bg"></div>
<div id="loading_pic"></div>
</div>
2019-04-29 19:19:44 +00:00
</div>
2019-09-06 20:25:14 +00:00
<!-- CONTENT NOTES -->
<div id="content_notes">
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE THIS -->
2019-09-06 20:25:14 +00:00
<p style="margin-top: 0.6em;">
<i style="color:#ff4040">Adventures With Anxiety</i> is about, well, anxiety.
</p>
<p>
2019-09-07 21:19:53 +00:00
But I've made this <i>for</i> folks with anxiety disorder, like myself.
2019-09-09 16:37:58 +00:00
I hope it can help you see with humor how anxiety works.
And, just maybe, reduce the fear of fear itself.
2019-09-06 20:25:14 +00:00
</p>
<p>
There's also badly-drawn stick figures and a hyperactive wolf.
Enjoy!
</p>
2019-09-09 16:37:58 +00:00
<p style="color:#999; font-size: 16px; line-height: 1.3em;">
2019-09-10 16:57:05 +00:00
other notes: alcohol abuse, sexuality<span class="hide-if-cuss-free">, a @✩$!load of swearing</span>
2019-09-06 20:25:14 +00:00
</p>
<p>
2019-09-18 16:26:08 +00:00
<a target="_blank" href="https://ncase.me/mental-health/">mental health tips &amp; resources</a>
2019-09-06 20:25:14 +00:00
&#x1f517;
</p>
<div id="cn_ok" onclick="publish('hide_cn');" style="float:none">
ok <div class="mini-icon" pic="ok" style="top: 3px;"></div>
</div>
</div>
<!-- ABOUT -->
2019-09-10 13:57:02 +00:00
<div id="about"><!-- about=yes-->
2019-09-06 20:25:14 +00:00
<div id="about_words">
2019-09-07 21:19:53 +00:00
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE THIS -->
2019-09-10 13:57:02 +00:00
<div style="font-size: 40px; margin-top: 42px; line-height: 30px;">
mental health
2019-09-17 14:38:09 +00:00
<a href="https://ncase.me/mental-health/" target="_blank">resources</a>
2019-04-29 19:19:44 +00:00
</div>
2019-09-10 13:57:02 +00:00
<div style="margin-top: 26px; color: #999;">
&mdash; or &mdash;
2019-04-27 13:08:25 +00:00
</div>
2019-04-29 19:19:44 +00:00
2019-09-10 13:57:02 +00:00
<div style="font-size: 25px; text-align: left; width: 170px;
margin-left: 165px; line-height: 25px; margin-top: 31px;">
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE ALL THIS -->
2019-09-10 13:57:02 +00:00
<div>
play more of
<a href="https://ncase.me" target="_blank">my shtuff</a>
</div>
<div style="margin-top: 32px;">
throw coins<br>at me
<a href="https://www.patreon.com/ncase" target="_blank">on Patreon</a>
</div>
<div style="margin-top: 28px;">
please your ear-holes with Monplaisir's
<a href="https://chezmonplaisir.bandcamp.com/album/anxiety" target="_blank">original soundtrack</a>
</div>
2019-04-29 19:19:44 +00:00
2019-09-10 13:57:02 +00:00
</div>
2019-04-29 19:19:44 +00:00
<div id="replay"></div>
2019-04-30 15:20:45 +00:00
<div style="clear:both;"></div>
2019-09-18 16:26:08 +00:00
<div id="close_about" style="margin: 0; float: right; margin-top: 20px;">close</div> <!-- TRANSLATE -->
2019-04-30 15:20:45 +00:00
2019-04-27 13:08:25 +00:00
</div>
2019-04-26 17:08:31 +00:00
</div>
2019-04-29 15:35:25 +00:00
<!-- OPTIONS -->
2019-04-28 16:02:55 +00:00
<div id="options">
2019-05-02 15:55:41 +00:00
<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;">
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE THIS -->
2019-05-02 15:55:41 +00:00
And advance
<div id="text_automatic_toggle">on click</div>
</div>
<div style="clear:both"></div>
2019-05-05 19:56:00 +00:00
<span id="volume_options">
2019-09-18 16:26:08 +00:00
<div>Volume:</div> <!-- TRANSLATE -->
2019-04-29 19:19:44 +00:00
<input id="volume_slider" type="range" min=0 max=1 value=1 step="0.01"/>
</span>
2019-05-05 19:56:00 +00:00
<div id="options_ok">
2019-09-18 16:26:08 +00:00
ok <div class="mini-icon" pic="ok" style="top: 3px;"></div> <!-- TRANSLATE -->
2019-05-05 19:56:00 +00:00
</div>
2019-04-29 15:35:25 +00:00
</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>
2019-02-11 17:04:23 +00:00
</div>
2019-05-06 16:20:09 +00:00
<div class="debug" id="section_debug_list"></div>
2019-09-16 14:29:13 +00:00
2019-09-10 16:57:05 +00:00
<!-- - - - - - - - - - - - - - - - - - -->
<!-- SHTUFF IN THE CORNER - - - - - - - -->
<!-- - - - - - - - - - - - - - - - - - -->
2019-09-18 16:26:08 +00:00
<!-- TRANSLATE ALL OF THIS -->
2019-09-10 16:57:05 +00:00
<div class="corner-text" id="topleft">
Created by
<a href="https://ncase.me/" target="_blank">Nicky Case</a>
<br>
Music by
2019-09-17 14:24:40 +00:00
<a href="https://loyaltyfreakmusic.com" target="_blank">Monplaisir</a>
2019-09-10 16:57:05 +00:00
<br>
2019-09-16 14:32:20 +00:00
Extra code by
2019-09-17 14:24:40 +00:00
<a href="https://spacie.me/" target="_blank">Spacie</a>
2019-09-16 14:32:20 +00:00
<br>
2019-09-17 14:24:40 +00:00
<a href="https://github.com/ncase/anxiety#full-credits" target="_blank">Full credits</a>
2019-09-16 11:30:42 +00:00
<br><br>
No fan-made translations yet!
<br>
<a href="https://github.com/ncase/anxiety#how-to-translate" target="_blank">Make one?</a>
2019-09-10 16:57:05 +00:00
</div>
<div class="corner-text" id="bottomleft">
<img src="sprites/about/cc0.png" height="30" style="opacity:0.7"/>
<br>
You're already free to reuse &amp; remix this for any use!
2019-09-16 11:30:42 +00:00
<a href="https://github.com/ncase/anxiety#public-domain" target="_blank">(huh?)</a>
2019-09-10 16:57:05 +00:00
<br>
<a href="https://github.com/ncase/anxiety" target="_blank">Get the full source code</a>
</div>
<div class="corner-text" id="topright">
Share on an anxiety-app:
2019-09-18 16:26:08 +00:00
<span id="sharing_title">
Adventures With Anxiety!
</span>
<span id="sharing_desc">
I just played this story-game about a human and their anxiety! You play *as* the anxiety. 😱
</span>
2019-09-10 16:57:05 +00:00
<div id="share">
2019-09-18 16:26:08 +00:00
<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">
2019-09-10 16:57:05 +00:00
<div id="share_fb"></div>
</a>
2019-09-18 16:26:08 +00:00
<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"
2019-09-10 16:57:05 +00:00
target="_blank" class="no_deco">
<div id="share_tw"></div>
</a>
2019-09-18 16:26:08 +00:00
<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"
2019-09-10 16:57:05 +00:00
target="_blank" class="no_deco">
<div id="share_em"></div>
</a>
</div>
2019-09-17 20:43:49 +00:00
<br>
For your sharing pleasure:<br>
<a href="sharing" target="_blank">Videos &amp; Thumbnails</a>
2019-09-10 16:57:05 +00:00
</div>
<div class="corner-text" id="bottomright">
2019-09-17 14:38:09 +00:00
<a href="https://ncase.me/mental-health/" target="_blank">Mental Health Tips &amp; Resources</a>
2019-09-10 16:57:05 +00:00
<span class="hide-if-cuss-free">
2019-09-16 11:30:42 +00:00
<br><br>
2019-09-17 14:24:40 +00:00
<a href="?c=1">Cuss-Free Mode</a><br>
2019-09-10 16:57:05 +00:00
(for educators who want to avoid an awkward PTA meeting)
</span>
</div>
2019-09-16 14:29:13 +00:00
2019-02-11 17:04:23 +00:00
</body>
</html>
2019-02-17 21:54:29 +00:00
<!-- SCRIPTS -->
<script src="scripts/lib/createImageBitmap.js"></script>
<script src="scripts/lib/tickable_observer.js"></script>
2019-04-18 11:40:22 +00:00
<script src="scripts/lib/helpers.js"></script>
2019-02-18 20:59:10 +00:00
<script src="scripts/lib/rsvp.min.js"></script>
2019-02-17 21:54:29 +00:00
<script src="scripts/lib/minpubsub.min.js"></script>
2019-04-23 19:12:41 +00:00
<script src="scripts/lib/howler.min.js"></script>
2019-02-17 21:54:29 +00:00
2019-02-18 20:59:10 +00:00
<script src="scripts/game/Loader.js"></script>
2019-04-25 18:07:41 +00:00
<script src="scripts/game/Game.js"></script>
2019-02-17 21:54:29 +00:00
<script src="scripts/game/Sprite.js"></script>
2019-07-30 20:17:36 +00:00
<script src="scripts/game/HP.js"></script>
2019-02-18 20:59:10 +00:00
<script src="scripts/game/BG_Anxiety.js"></script>
2019-04-18 11:40:22 +00:00
<script src="scripts/game/Character.js"></script>
2019-04-23 19:12:41 +00:00
<script src="scripts/game/Sounds.js"></script>
2019-04-28 16:02:55 +00:00
<script src="scripts/game/Options.js"></script>
2019-04-29 19:19:44 +00:00
<script src="scripts/game/About.js"></script>
2019-09-06 20:25:14 +00:00
<script src="scripts/game/ContentNotes.js"></script>
2019-09-18 16:26:08 +00:00
<script src="scripts/game/Sharing.js"></script>
2019-02-18 17:24:52 +00:00
<!-- INTRO -->
2019-03-17 18:41:19 +00:00
<script src="scripts/intro/Intro_SceneSetup.js"></script>
2019-04-09 18:59:19 +00:00
<script src="scripts/intro/Intro_BG.js"></script>
2019-03-17 18:41:19 +00:00
2019-06-12 19:08:32 +00:00
<!-- ACT I -->
2019-06-11 14:45:09 +00:00
<script src="scripts/act1/Act1_SceneSetup.js"></script>
2019-02-22 23:48:24 +00:00
<script src="scripts/act1/Act1_Hong.js"></script>
<script src="scripts/act1/Act1_Beebee.js"></script>
2019-04-18 11:40:22 +00:00
<script src="scripts/act1/Act1_Outro_BG.js"></script>
2019-02-17 21:54:29 +00:00
2019-06-12 19:08:32 +00:00
<!-- ACT II -->
2019-05-22 19:47:13 +00:00
<script src="scripts/act2/Act2_SceneSetup.js"></script>
2019-06-06 16:32:57 +00:00
<script src="scripts/act2/Act2_BG.js"></script>
2019-06-11 18:31:28 +00:00
<script src="scripts/act2/Act2_Hong.js"></script>
<script src="scripts/act2/Act2_Beebee.js"></script>
2019-05-22 19:47:13 +00:00
2019-06-14 15:03:30 +00:00
<!-- 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>
2019-06-17 19:33:15 +00:00
<!-- 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>
2019-06-17 19:33:15 +00:00
2019-06-26 15:03:27 +00:00
<!-- CREDITS -->
<script src="scripts/credits/Credits_SceneSetup.js"></script>
2019-09-02 16:35:36 +00:00
<script src="scripts/credits/Credits_BG.js"></script>
2019-06-26 15:03:27 +00:00
2019-06-21 15:33:04 +00:00
<!-- INTERMISSION -->
<script src="scripts/intermission/Intermission_SceneSetup.js"></script>
<script src="scripts/intermission/Intermission_BG.js"></script>
2019-09-16 14:29:13 +00:00
<!-- LET'S GO! -->
2019-09-10 13:57:02 +00:00
<script src="scripts/main.js"></script>