From 9ef324d2d2e40f919de9b7d7e1852affa97e0e91 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 11 Jul 2013 18:42:27 -0400 Subject: do more work --- README | 4 ++- TODO | 5 +-- lighttpd.conf | 1 + www/css/index.css | 3 ++ www/index.html | 7 ++-- www/js/api.js | 96 ++++++++++++++++++++++++++++++++++++++++++++++++------- www/js/html5ks.js | 8 +++-- 7 files changed, 105 insertions(+), 19 deletions(-) diff --git a/README b/README index 8693448..20c6d84 100644 --- a/README +++ b/README @@ -2,7 +2,9 @@ This is an HTML5 implementation of the game Katawa Shoujo. [0] It's still very much a WIP, but at least the first scene displays half-credibly. -Run lighttpd -f lighttpd.conf which just serves files in www with a reasonable MIME type, expiry date and gzip. +Run nginx.sh to start nginx with appropriate options for development, then connect to localhost:8080. + +lighttpd -f lighttpd.conf should also work, but is not actively tested. If I haven't finished the TODO (probably), check /TODO for a list of things that need to be worked on. *snip* knows I could use another hand on this. diff --git a/TODO b/TODO index 8c67fc8..b1ff54b 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,8 @@ todo ordered by most to least important... ish all of this should (read: must) be completed for a 1.0 release -- menu (doesn't work) -- show command +- menu (doesn't go back up call stack) +- show command (somehow deletes bg) - redo images.js using json including ALL transitions - transitions. ALL THE TRANSITIONS - ltr text reveal (for nvl too) @@ -10,4 +10,5 @@ all of this should (read: must) be completed for a 1.0 release - fix cursor to apply to all document - organize the CSS into a reasonable order - convert characters.js into json and load with html5ks.fetch +- rewrite all the JS, the structure is . - remove reference to this from README diff --git a/lighttpd.conf b/lighttpd.conf index a934d1a..c894d65 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -79,3 +79,4 @@ $HTTP["url"] == "/dump/bgm/Stride.ogg" { setenv.add-response-header += ( "X-Cont $HTTP["url"] == "/dump/bgm/The_Student_Council.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "103" ) } $HTTP["url"] == "/dump/bgm/To_Become_One.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "248" ) } $HTTP["url"] == "/dump/bgm/Wiosna.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "70" ) } +# TODO: Add /dump/sfx content duration diff --git a/www/css/index.css b/www/css/index.css index d05e2f4..03f765d 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -174,3 +174,6 @@ input[type="checkbox"]:checked + span:before { background: url("../dump/ui/bg-choice.png") no-repeat top center; height: 35px; } +#show img { + position: absolute; +} diff --git a/www/index.html b/www/index.html index c019183..17ceead 100644 --- a/www/index.html +++ b/www/index.html @@ -2,7 +2,7 @@ - + Katawa Shoujo