Check out my
new book!
HTML5 Games book
WebGL and HTML5 audio fixes A couple of updates and fixes to some of my earlier WebGL and HTML5 audio experiments which have stopped working since I first put them online.

First up is the musical solar system which went and got horribly broken due to changes in the WebGL spec. I published it when the WebGL implementations were still very much evolving and changes were happening almost faster than you adapt to them.Now with the spec having reached a more mature level, things have slowed down and the implementations are almost in agreement so browser-specific workarounds aren't so necessary. So anyway, after a few tweaks here and there, the planets should once again be dancing. Check it out.

Next up, Worlds of WebGL which had suffered pretty much the same fate. I'd already updated it once to accommodate some of the spec changes and now it should be fully working again.

However... In both WebGL projects, I had to reintroduce some code I had previously taken out because it was causing problems for some Mac users (iirc). So if you experience any problems with either experiment, please let me know. In particular, the affected parts would be the sun in the solar system and all the particles/planets in Worlds of WebGL.

Finally, my HTML5 audio project Pocket Full of HTML5 had lost its support of the new HTML5 audio data api, so it used the SoundManager2 fallback even when using a audio-data-enabled Firefox build. Again, the problem was due to changes in the API, which is still very early in its development, but fortunately the necessary changes were few and simple and Yury Delendik even provided me with a patch (thanks Yuri!). So check that out too.

⇓ 18 comments