diff --git a/audio/bgr.flac b/audio/bgr.flac new file mode 100644 index 0000000..7b9f3bc Binary files /dev/null and b/audio/bgr.flac differ diff --git a/audio/bgr.mp3 b/audio/bgr.mp3 new file mode 100644 index 0000000..0f862d7 Binary files /dev/null and b/audio/bgr.mp3 differ diff --git a/game/story.coffee b/game/story.coffee index cc160ef..08edaaf 100644 --- a/game/story.coffee +++ b/game/story.coffee @@ -4,6 +4,10 @@ situation "living-room", if not $(".ways h2").is(':visible') $(".ways h2").fadeIn() update_ways(this.ways) + audio = document.getElementById("bgsound") + audio.currentTime=0 + audio.volume = 0.5 + audio.play() ways: ["bedroom", "kitchen", "balcony"] content: """ Ronald is standing in a dark room with a big #{textlink("window.", "window")} diff --git a/html/index.html b/html/index.html index fd77416..36e4343 100644 --- a/html/index.html +++ b/html/index.html @@ -74,6 +74,7 @@
+