diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-03 20:11:40 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-03 20:11:40 -0400 |
commit | 0e14fea8ebc1730d6937bcc46354188a0a14f87c (patch) | |
tree | d0554411cd49438b0fab77cbf29a1b2a6de27186 /www/js/html5ks.js | |
parent | 77524b907b0737d97094f8530ff29578ae396414 (diff) | |
download | html5ks-0e14fea8ebc1730d6937bcc46354188a0a14f87c.tar.xz html5ks-0e14fea8ebc1730d6937bcc46354188a0a14f87c.zip |
implement menu... sorta (doesn't work properly)
Diffstat (limited to 'www/js/html5ks.js')
-rw-r--r-- | www/js/html5ks.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/www/js/html5ks.js b/www/js/html5ks.js index d76f2a0..8de3c8d 100644 --- a/www/js/html5ks.js +++ b/www/js/html5ks.js @@ -5,11 +5,6 @@ window.html5ks = { }, persistent: { seen_scenes: {}, - attraction: { - kenji: 0, - sc: 0, - hanako: 0 - }, settings: { fade: 100, gotit: false, @@ -26,7 +21,12 @@ window.html5ks = { } }, store: { - seen_scenes: {} + seen_scenes: {}, + attraction: { + kenji: 0, + sc: 0, + hanako: 0 + }, }, state: {}, initElements: function () { @@ -45,7 +45,8 @@ window.html5ks = { ctc: document.getElementById("ctc"), nvl: document.getElementById("nvl"), nvlsay: document.getElementById("nvlsay"), - nvlctc: document.getElementById("nvlctc") + nvlctc: document.getElementById("nvlctc"), + choices: document.getElementById("choices") }; this.elements.audio.music.loop = true; this.elements.audio.ambient.loop = true; |