This commit is contained in:
Nicky Case 2019-04-19 13:44:45 -04:00
parent 9063a1f7dd
commit 436f3fd5f1
6 changed files with 45 additions and 13 deletions

4
TODOS
View File

@ -2,3 +2,7 @@
- Why's there a long pause between scene transitions?
- black out, then show END SCREEN (for newsletter, patreon, in meantime my other games)
- icons in the start
- if can contain code with { } regex

View File

@ -14,10 +14,14 @@ h: Oh good, I was hoping to *not* eat in peace today.
n: YOUR JOB IS TO PROTECT YOUR HUMAN FROM *DANGER*
`bb({eyes:"look", mouth:"small_lock"})`
n: IN FACT, THAT SANDWICH IS PUTTING THEM IN *DANGER* RIGHT NOW
n: QUICK, WARN THEM!
`bb({eyes:"normal", mouth:"normal"})`
[You're eating alone for lunch! Again!](#act1a_alone)
[You're not studying while eating!](#act1a_study)
@ -96,7 +100,7 @@ b: DIEEEEEEEEEEEEEEEEEEE
```
bb({body:"normal", mouth:"normal", eyes:"normal"});
hong({mouth:"0_shock", eyes:"0_shock"});
attack("20p", "alone");
attack("20p", "bad");
publish("hp_show");
```
@ -128,7 +132,7 @@ b: DIEEEEEEEEEEEEEEEEEEE
```
bb({body:"normal", mouth:"normal", eyes:"normal"});
hong({mouth:"0_shock", eyes:"0_shock"});
attack("20p", "alone");
attack("20p", "harm");
publish("hp_show");
```
@ -152,13 +156,22 @@ n: BUT YOU'RE NOT DONE SAVING YOUR HUMAN YET
n: GET YOUR HUMAN'S ENERGY BAR TO ZERO
n: YOUR MOVES ARE: FEAR OF *BEING HARMED,* *BEING UNLOVED,* AND *BEING A BAD PERSON*
n: YOUR MOVES ARE:
n: FEAR OF *BEING HARMED* #harm#
n: FEAR OF *BEING UNLOVED* #alone#
n: AND FEAR OF *BEING A BAD PERSON* #bad#
n: (PRO TIP: TRY PLAYING THE CHOICES THAT MOST HIT YOUR DEEPEST, DARKEST FEARS!)
h: ...
`hong({body:"putaway"})`
```
hong({body:"putaway"});
Game.OVERRIDE_TEXT_SPEED = 2.0;
```
h: you know what maybe it's time to check my phone.
@ -1060,7 +1073,7 @@ h: i just want to be free from all this... pain.
`bb({eyes:"look_sad"});`
b: Hey... Human...
b: Hey... human...
`Game.OVERRIDE_TEXT_SPEED = 0.5;`
@ -1238,10 +1251,7 @@ attack("30p", "bad");
# act1i
```
hong({body:"3_defeated1"});
bb({mouth:"smile_lock", eyes:"smile"});
```
`bb({mouth:"smile_lock", eyes:"smile"});`
n: CONGRATULATIONS

View File

@ -33,6 +33,7 @@ function Act1_Beebee(){
"mouth_normal_talk",
"mouth_small",
"mouth_small_talk",
"mouth_small_lock",
"eyes_normal",
"eyes_normal_right",

View File

@ -411,13 +411,30 @@ Game.executeText = function(line){
// Larger interval if punctuation...
var chr = word.slice(-1);
var isIcon = (word[0]=="#" && chr=="#");
if(chr=="*") chr = word[word.length-2]; // coz emphasis
if(chr=="," || chr==":") interval += SPEED*5;
if(chr=="." || chr=="?" || chr=="!") interval += SPEED*10;
if(word.slice(-3)=="...") interval += SPEED*15;
}
// Oh, was it an ICON?
if(word[0]=="#" && chr=="#"){
interval += SPEED*10;
var span = div.children[i];
span.innerHTML = "";
span.style.display = "block";
var iconName = word.slice(1,-1)
var icon = Library.images["fear_"+iconName];
div.children[i].appendChild(icon);
icon.style.display = "block";
icon.style.margin = "0 auto";
icon.style.width = "80px";
icon.style.height = "80px";
}
}
}

View File

@ -10,16 +10,16 @@ Loader.load().then(function(){
Game.start();
// Set up...
SceneSetup.act1();
/*SceneSetup.act1();
publish("hp_show");
hong({body:"phone1", mouth:"neutral", eyes:"neutral"});
//_.whitebread = true;
_.partyinvite="ignore";
_.fifteencigs = true;
//_.subtweet=true;
_.seppuku = true;
_.seppuku = true;*/
// GO!
Game.goto("act1g");
Game.goto("act1");
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

After

Width:  |  Height:  |  Size: 282 KiB