Skip to content
Browse files

loading music

  • Loading branch information...
1 parent 87fad2b commit 3a7316434f88d0c6f2dcb649f9403e6f6fabe7d9 @kripken committed Jun 11, 2012
View
0 cube2/packages/music/OutThere_0.ogg → cube2/OutThere_0.ogg
File renamed without changes.
View
1 cube2/packages/music/readme.txt
@@ -1,3 +1,2 @@
-OutThere_0.ogg: CC0/public domain, by yd, http://opengameart.org/content/space-music-out-there
stone_fortress.ogg: CC-BY-SA 3.0, (C) remaxim, http://opengameart.org/content/stone-fortress
View
2 cube2/readme.txt
@@ -0,0 +1,2 @@
+OutThere_0.ogg: CC0/public domain, by yd, http://opengameart.org/content/space-music-out-there
+
View
2 cube2/src/web/pre.js
@@ -1,6 +1,6 @@
Module['loadingMusic'] = new Audio();
-Module['loadingMusic'] = 'OutThere_0.ogg';
+Module['loadingMusic'].src = 'OutThere_0.ogg';
Module['loadingMusic'].play();
// Will be stopped once the first frame of the game runs

0 comments on commit 3a73164

Please sign in to comment.
Something went wrong with that request. Please try again.