ITS GOOD SHUT UP

This commit is contained in:
Nicky Case 2019-05-07 10:55:09 -04:00
parent 3bcdc71efb
commit 7f240a443c
6 changed files with 101 additions and 8 deletions

View File

@ -34,11 +34,17 @@
<meta name="viewport" content="width=360, user-scalable=no" id="my_viewport">
<script>
window.addEventListener("load", function(){
var ratio = screen.width/screen.height;
if(ratio > 360/600){
var mvp = document.getElementById('my_viewport');
mvp.setAttribute('content','width='+Math.round(ratio*600)+', height=600, user-scalable=no');
}
var resizeViewport = function(){
var ratio = window.innerWidth/window.innerHeight;
var mvp = document.getElementById('my_viewport');
if(ratio > 360/600){
mvp.setAttribute('content', 'width='+Math.round(ratio*600)+', height=600, user-scalable=no');
}else{
mvp.setAttribute('content', "width=360, user-scalable=no");
}
};
setInterval(resizeViewport,2000);
resizeViewport();
});
</script>

86
scenes/PROMO.md Normal file
View File

@ -0,0 +1,86 @@
# intro
`SceneSetup.intro();`
# intro-play-button
[<div class="mini-icon" pic="play1"></div> PLAY! <div class="mini-icon" pic="play2"></div>](#intro-start) `publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
# intro-start
(...500)
`clearText()`
n3: derp
`publish("show_options_bottom")`
# intro-start-2
`clearText()`
(...1000)
`publish("intro-to-game-2")`
n2: THIS IS A HUMAN
(...600)
`clearText()`
(...300)
`publish("intro-to-game-3")`
# act1
`SceneSetup.act1();`
(...300)
n: AND THIS IS THE HUMAN'S ANXIETY
n: _YOU_ ARE THE ANXIETY
[You're eating alone for lunch! Again!](#act1a_alone)
[You're not productive while eating!](#act1a_productive)
[That white bread's bad for you!](#act1a_bread)
# act1a_alone
`bb({mouth:"small", eyes:"narrow"})`
b: Don't you know loneliness is associated with premature death as much as smoking 15 cigarettes a day?-
`Game.OVERRIDE_TEXT_SPEED = 2;`
`bb({mouth:"normal", eyes:"normal_right"})`
b: (Holt-Lunstad et al, 2010, PLoS Medicine)
`hong({mouth:"0_neutral", eyes:"0_annoyed"})`
h: Um, thanks for citing your sources but--
`Game.OVERRIDE_TEXT_SPEED = 2;`
`bb({body:"fear", mouth:"normal", eyes:"fear"})`
b: Which means if you don't hang out with someone *right now* you're gonna-
`bb({body:"panic"})`
b: DIEEEEEEEEEEEEEEEEEEE
```
bb({body:"normal", mouth:"normal", eyes:"normal"});
hong({mouth:"0_shock", eyes:"0_shock"});
attack("20p", "alone");
publish("hp_show");
```
(...2500)

View File

@ -8,7 +8,7 @@
(...1000)
n: YOUR FEARS:
n: FEARS YOU USED:
n: #harm# *BEING HARMED:* {{_.attack_harm}}
@ -16,7 +16,7 @@ n: #alone# *BEING UNLOVED:* {{_.attack_alone}}
n: #bad# *BEING A BAD PERSON:* {{_.attack_bad}}
(...3150)
(...3000)
`Game.clearText()`

View File

@ -2,7 +2,8 @@
Loader.addScenes([
"scenes/intro.md",
"scenes/act1.md",
"scenes/act1_end.md"
"scenes/act1_end.md",
//"scenes/PROMO.md"
]);
Loader.load(function(progress){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 29 KiB