diff --git a/README.md b/README.md index 3ad0dc4..680e9f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +![](https://ncase.me/anxiety/sharing/banner.png) # [Play the interactive story here!](https://ncase.me/anxiety/) @@ -11,7 +11,10 @@ That means: you can remix and reuse *any* of the original art / code / music in **A:** You're not *legally* required to, but it's highly appreciated! <3 **Q:** Legally speaking, can I claim *I* made this? -**A:** Yes, the same way you're legally allowed to claim to have written Mary Shelley's *Frankenstein*, or claim you have 13 nipples. It won't be true and you'll look like a dick. +**A:** Yes, the same way you're legally allowed to claim to have written Mary Shelley's Frankenstein, or claim you have 13 nipples. + +**Q:** Can I post this game on other sites? +**A:** Maybe. Though it's completely legal copyright-wise, many sites have their own policies against posting other people's public domain/open source work *without* significant modifications. (But if it's your own site, then by all means, please mirror this game!) **Q:** Can I sell a port of this game? **A:** Yes! But to avoid confusion, I recommend labeling your game as "Fan-Made Port", and *link to this statement saying I'm explicitly allowing commercial remixes*. (Example: [a Steam port of another one of my games!](https://store.steampowered.com/app/1103210/We_Become_What_We_Behold_FanMade_Port/)) This is to avoid accusations of theft from folks who weren't aware I always open-source + public-domain my projects. @@ -26,6 +29,8 @@ Art / Code / Writing by [Nicky Case](https://ncase.me/) Music by [Monplaisir](https://loyaltyfreakmusic.com) +Extra code by [Spacie](https://spacie.me) + **Sound Effects from FreeSound.org (Creative Commons)** * [Intro Scream](https://freesound.org/people/analogchill/sounds/35716/) by MaderaDelEste Films @@ -193,7 +198,7 @@ If you don't feel like re-drawing text, [you can find open-source "handwritten" Images to translate: (about 70 words) -* `sharing/thumb.png` (so when folks share your game on social media, the thumbnail's in your language!) +* `sharing/thumb.png` (so when folks share your game on social media, the thumbnail's in your language! in the same folder, I put a `thumb_no_words.png` image to help you make a new thumbnail.) * `sprites/about/cc0.png` * `sprites/about/replay.png` * `sprites/act4/callback.png` @@ -212,15 +217,15 @@ Your translated game is DONE! Now you just need to put it online. You can follow ### (OPTIONAL STEP): -This game also has a link to a list of Mental Health Resources, [on a different webpage](https://ncase.me/mental-health-resources). It's not part of the "main" game, but it may still be valuable to make accessible in more languages. +This game also has a link to a list of Mental Health Tips & Resources, [on a different webpage](https://ncase.me/mental-health). It's not part of the "main" game, but it may still be valuable to make accessible in more languages. -[The repo & instructions for translating that are here!](https://github.com/ncase/mental-health-resources) +[The repo & instructions for translating that are here!](https://github.com/ncase/mental-health) ### Step 7: TELL ME YOU ARE *DONE* 🎉🎉🎉 Ping @ncase on the Github Issue you created in Step 2 so I know! Or email me at ![](misc/email.png) -Do ***NOT*** send a Pull Request, because that will change the *original* game. I will, however, edit the original game to have a link to your translation! +Do ***NOT*** send a Pull Request to *this* repo, because that will change the *original* game. I will, however, edit the original game to have a link to your translation! I'm usually busy and/or bad at email, so it'll take me a while to get around to it, but if I don't respond for a week, ping me again! diff --git a/index.html b/index.html index ada913f..af8f86c 100644 --- a/index.html +++ b/index.html @@ -3,29 +3,24 @@ - Adventures With Anxiety! - + Adventures With Anxiety! + - - - - - - - + + - + - - + + @@ -51,10 +46,10 @@
- click or spacebar + click or spacebar
@@ -80,6 +75,7 @@
+ paused
click anywhere to keep freaking out
@@ -96,6 +92,7 @@
+

Adventures With Anxiety is about, well, anxiety.

@@ -112,7 +109,7 @@ other notes: alcohol abuse, sexuality, a @✩$!load of swearing

- mental health resources + mental health tips & resources 🔗

@@ -125,6 +122,7 @@
+
mental health resources @@ -137,16 +135,15 @@
+
play more of my shtuff
-
throw coins
at me on Patreon
-
please your ear-holes with Monplaisir's original soundtrack @@ -157,7 +154,7 @@
-
close
+
close
@@ -169,16 +166,17 @@
+ And advance
on click
-
Volume:
+
Volume:
- ok
+ ok
@@ -194,6 +192,8 @@ + +
Created by Nicky Case @@ -222,15 +222,21 @@ You're already free to reuse & remix this for any use!
Share on an anxiety-app: + + Adventures With Anxiety! + + + I just played this story-game about a human and their anxiety! You play *as* the anxiety. 😱 +
- +
-
-
@@ -271,6 +277,7 @@ For your sharing pleasure:
+ diff --git a/scenes/act4.md b/scenes/act4.md index a43904a..9409e27 100644 --- a/scenes/act4.md +++ b/scenes/act4.md @@ -396,6 +396,8 @@ sfx("yaps", {volume:0.6}); bb({body:"yap_1"}); Game.FORCE_CANT_SKIP = true; Game.WORDS_HEIGHT_BOTTOM = 215; +Game.FORCE_TEXT_DURATION = 90; +Game.FORCE_NO_VOICE = true; ``` b: YAP YAP YAP YAP YAP @@ -1320,11 +1322,11 @@ h: Support groups, online therapy, student/non-profit health centers... `hong({ body:"hands_1" })` -h: Picking up a free meditation habit, watching videos on evidence-based mental health... +h: Building habits like meditation, sleeping well, chatting regularly with friends, learning new things... `hong({ body:"hands_2" })` -h: Borrowing a library book on Cognitive Behavioral Therapy or Acceptance & Commitment Therapy... +h: Going to a library to borrow workbooks for evidence-based psychotherapies... `hong({ body:"one_up" })` @@ -1986,6 +1988,8 @@ publish("act4", ["hong_closer", 6]); sfx("yaps", {volume:0.6}); Game.FORCE_CANT_SKIP = true; Game.WORDS_HEIGHT_BOTTOM = 205; +Game.FORCE_TEXT_DURATION = 90; +Game.FORCE_NO_VOICE = true; ``` b: YAP YAP YAP YAP YAP diff --git a/scripts/game/Sharing.js b/scripts/game/Sharing.js new file mode 100644 index 0000000..a2a1ae6 --- /dev/null +++ b/scripts/game/Sharing.js @@ -0,0 +1,13 @@ +var SHARING_LINK = window.location.href; +var SHARING_TITLE = $("#sharing_title").innerText.trim(); +var SHARING_DESC = $("#sharing_desc").innerText.trim(); + +$("#share_link_fb").setAttribute("href", + "https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(SHARING_LINK) + ); +$("#share_link_tw").setAttribute("href", + "https://twitter.com/intent/tweet?text="+encodeURIComponent(SHARING_DESC)+"%20"+encodeURIComponent(SHARING_LINK) + ); +$("#share_link_em").setAttribute("href", + "mailto:?subject="+encodeURIComponent(SHARING_TITLE)+"&body="+encodeURIComponent(SHARING_DESC)+"%20"+encodeURIComponent(SHARING_LINK) + ); \ No newline at end of file diff --git a/sharing/thumb_no_words.png b/sharing/thumb_no_words.png new file mode 100644 index 0000000..5cbc44e Binary files /dev/null and b/sharing/thumb_no_words.png differ diff --git a/sprites/credits/thanks.png b/sprites/credits/thanks.png index 284e851..10f9692 100644 Binary files a/sprites/credits/thanks.png and b/sprites/credits/thanks.png differ diff --git a/styles/game.css b/styles/game.css index d0913f3..66a899c 100644 --- a/styles/game.css +++ b/styles/game.css @@ -1035,6 +1035,9 @@ CORNER TEXT .no_deco{ text-decoration: none; } +#sharing_title, #sharing_desc{ + display: none; +} #share{ overflow: hidden; text-align: right;