anxiety/scripts/main.js

25 lines
445 B
JavaScript
Raw Normal View History

2019-02-18 20:59:10 +00:00
// Load assets
Loader.addScenes([
2019-04-18 11:40:22 +00:00
"scenes/intro.md",
2019-04-19 15:57:10 +00:00
"scenes/act1.md",
//"scenes/test.md",
//"scenes/test-outro.md"
2019-02-18 20:59:10 +00:00
]);
Loader.load().then(function(){
Game.init();
Game.start();
2019-04-18 11:40:22 +00:00
2019-04-19 15:57:10 +00:00
// Set up...
2019-04-19 17:44:45 +00:00
/*SceneSetup.act1();
2019-04-19 15:57:10 +00:00
publish("hp_show");
hong({body:"phone1", mouth:"neutral", eyes:"neutral"});
//_.whitebread = true;
_.partyinvite="ignore";
_.fifteencigs = true;
//_.subtweet=true;
2019-04-19 17:44:45 +00:00
_.seppuku = true;*/
2019-04-19 15:57:10 +00:00
// GO!
2019-04-19 17:44:45 +00:00
Game.goto("act1");
2019-04-18 11:40:22 +00:00
2019-02-18 20:59:10 +00:00
});