WebGL is not ready yet

I’ve been exploring WebGL for game development. So far, there are many things that I like. I love the fact that you don’t have to compile anything. Edit your source code, open it on a browser, and click refresh! You can even debug your code directly on the browser (I <3 Chrome)!

If you know Away3D, you might going to like Three.js. Three.js to WebGL is just like Away3D to Stage3D: easy to use, readable example codes, and has some high level functions for animations, particles, and models loading.

Everything sounds perfect, right? Unfortunately, when it comes to mobile and tablet support, WebGL is a big disappointment.

There is NO support for WebGL on mobile browser and tablet. If you check on caniuse.com, there is no WebGL on Android Browser, Chrome for Android, Firefox for mobile, nor the iOS Safari. Not even for the latest versions 😐

I’ve tried FireFox Beta & Dolphin Beta for Android, both claim to have WebGL support. Firefox displayed nothing while Dolphin only managed to show rotating globe with less than 1 frame per seconds. FYI, I tested this using my demoΒ on my Galaxy S with Android 2.3.

Same problem with HTML5 Canvas. Although it is has better support than WebGL, the performance suffers a lot on mobile/tablet devices. I played some HTML5 games and sometimes the framerate drops to 5 fps. It could be the hardware or browser problem since the games run smoothly on iPhone4S/iPad3, or maybe it’s just the common problem of HTML5 games?

Sometimes I wonder, what’s the point of having your game in WebGL if it’s only available for desktop browser. You could’ve done it using Stage3D. Even better, with the help of Adobe AIR, you can compile the same source code and have your game running on mobile and tablet, either it’s Android or iOS.

Don’t get me wrong, I don’t hate HTML5. I do believe HTML5 and WebGL could be the future of web gaming. It’s just that it’s too much hyped but not ready for the present.

Is it useless to learn HTML5? Definitlely not! I can say that learning JavaScript makes me a better ActionScript programmer. How? I’ll write more detailed post about this one πŸ˜‰

Stay tuned!

6 thoughts on “WebGL is not ready yet

  1. Yeah, agreed. I think html5 is not ready for gaming platform at this time. I’ve tested my html5 game on android device (nexus s with ICS) and playbook, the game performance is very dissapointed. Now, I use starling framework, and my game run smoothly on android.

    Anyway, what about haxe NME? πŸ˜‰

    • Haxe NME looks very promising.

      I haven’t tried it but maybe later, once it supports 3D rendering. Until then, Stage3D would be my 1st choice for 3D mobile game developement.

  2. Agreed, same conclusion here.

    I have tried ivank it’s a flash like api for webGL, so it’s fast and super easy ti use and learn for an AS3 dev.
    But cannot be use IRL cause it’s high end desktop only.

  3. How is Web GL and javascript a viable way to make a game when any one can just right click and view all of your game’s/software’s code? Am I missing something that everyone knows? It makes no sense to me do develop ANYTHING other than a simple secondary feature in javascript . I’m a newb to web development – So am I missing something here? Please help me out

Leave a Reply

Your email address will not be published. Required fields are marked *