rezoner / playground

Playground.js is a framework for your javascript based games. It gives you out-of-box access to essentials like mouse, keyboard, sound and well designed architecture that you can expand to your needs.
MIT License
461 stars 50 forks source link

if(preferredAudioFormat = "mp3") at playground.js:2246 #3

Closed JoshuaGrams closed 9 years ago

JoshuaGrams commented 9 years ago

I was minifying playground.js with the closure compiler (thanks for suggesting this on Ludum Dare, BTW) and it turned up this bug... It should be == of course...

rezoner commented 9 years ago

Thanks,

Even better ===

Fixed - it was in audio fallback - a system that is used on browsers that don't support webAudioAPI (which is apparently IE which gamers rarely use anyway)