{name: "dst-inertexponent", type: "audio", src: "data/bgm/", channel : 1},{name: "jump", type: "audio", src: "data/sfx/", channel: 1},{name: "cling", type: "audio", src: "data/sfx/", channel: 2},{name: "stomp", type: "audio", src: "data/sfx/", channel: 1}
// play some audiome.audio.playTrack("jump");
me.audio.playTrack("DST-InertExponent");
// add "#debug" to the URL to enable the debug Panelif (document.location.hash === "#debug") {window.onReady(function () {me.plugin.register.defer(debugPanel, "debug");});}// Initialize the audio.me.audio.init(".mp3",".ogg");
--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
![]()
I'm also using 0.9.7, so I'm not sure what's the problem :( Would it help if I'd send you the code?
<script type="text/javascript" src="lib/melonJS-0.9.7-min.js"></script>
Ouch, got it. It was just a typo in the file name. Thanks a lot!2013/5/15 Aaron McLeod <sircoo...@gmail.com>
Yup, i got it. So when i loaded up the page, it had trouble loading dst-inertexponent.ogg. Double check that the file is there, and that you have the directory specified correctly.It could be a permissions thing, but i'd imagine you wouldn't have an issue on your own machine.On Wed, May 15, 2013 at 9:13 AM, Wouter van de Watering <woutervan...@gmail.com> wrote:
Hey Aaron,I'm hosting the game right here: http://www.chillground.nl/bagageThat's the version with me.audio.init("mp3", "ogg"); still in it (and it works, kinda).Here's the link to the loader that isn't working: http://www.chillground.nl/bagage2.
--
You received this message because you are subscribed to a topic in the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/melonjs/Hc16uYa-Yqw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to melonjs+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.