devilzk Posted December 31, 2013 Share Posted December 31, 2013 Hi, I am exploring Phaser for a small game project for windows phone 8 devices. So far from my little research, I think that audio playback could be a challenging task. Specially if I have to play 2-3 audio at same time (like background music + 1-2 sfx). If anyone had already tried Phaser for windows phone 8 platform and can confirm possibility of the same? I tried soundJS in phone browser and their sample says that device browser isn't supported. Not sure if something to do with device or its really hard to get audio playback in HTML5 on mobile games under Windows phone 8 platform. Thanks in advance for your help & replies. Link to comment Share on other sites More sharing options...
enpu Posted December 31, 2013 Share Posted December 31, 2013 Windows Phone 8 browser (IEMobile 10) does not support Web Audio API or multi-track HTML5 audio, so you can only play one sound at a time. haden 1 Link to comment Share on other sites More sharing options...
devilzk Posted January 1, 2014 Author Share Posted January 1, 2014 Hi, Oh, then what should be alternate way, is there any option to delegate audio playback to native layer (C#) in some way (may be using js-to-c# callbacks)? Trying to figure how others are possibly doing this. Thanks Link to comment Share on other sites More sharing options...
enpu Posted January 1, 2014 Share Posted January 1, 2014 I know there is a way to play the audio using XNA, but have not yet managed to get it work.Will post the solution as soon as i get it to work. Link to comment Share on other sites More sharing options...
bubbut Posted June 20, 2014 Share Posted June 20, 2014 I just tested this on my WP8 device and some of the example games do not have sound working (e.g. ConnectMe from the home page of Phaser). I also followed the FlappyBird tutorial which uses .wav files for audio but on my phone there's still no sound. Everything works just fine on desktop however. Is there any way around this to get working music? Link to comment Share on other sites More sharing options...
Recommended Posts