2 ms·
This game doesn't have sound, but Construct 2 does allow for it. We've actually blogged about HTML5 sound quite a lot: http://www.scirra.com/blog/46/more-on-h
by TomGullen 15y ago
This game doesn't have sound, but Construct 2 does allow for it. We've actually blogged about HTML5 sound quite a lot:
http://www.scirra.com/blog/46/more-on-html5-audio-codecs-and-politics http://www.scirra.com/blog/46/more-on-html5-audio-codecs-and...
It's a bit of a minefield and is difficult to manage. MP3 has some strict licensing rules in regards to distributing games so we made a point of avoiding it. What we do is dual encode every sound to .ogg and .m4a, this will cover all browsers/devices. It's not the best solution space wise but it's safe and works pretty well.
We hope browsers make significant upgrades to HTML5 audio at some point! The easy option is to use Flash to handle sounds but we think this is cheating, we're kinda HTML5 purists :)