Here's another example of that maturity: on Flash platform, you have three big game engines -- PushButton Engine, FlashPunk and Flixel Perhaps there are more, but these three are pretty damn good. When I google for "javascript game engine", the top two (distinct) results are Crafty and gameQuery. Crafty looks decent, but not quite up to PushButton's level. The second engine, gameQuery is pretty much inferior to all three Flash engines I mentioned: the API is very limited and the performance of the demo is abysmal.
Mind, this isn't a 100% fair review, it's not an in-depth comparison or anything like that. It is, however, the "first glance evaluation" you'll probably get from any Flash game developer who's wondering whether they should switch to HTML5+JS.
I'm not saying we should just give up and use Flash forever and ever. I'm trying to explain why HTML5+JS is not a mature game development platform yet.
On the other hand, I'm pretty sure DOM doesn't provide a boilerplate game loop. It might sound trivial, but sorting and linked lists also sound trivial and you don't see people reinventing them on a daily basis either.
I usually program in Java but I'm using Flash (the tool) to throw together the GUI for a game I'm making. I find it's way more productive to develop the GUI visually rather than positioning and tweening things with code.
Of course, ultimately you can do all of that in a canvas but it is an awful lot easier in Flex.
Also, don't you have to manage the redraw of areas yourself with canvas?
[NB I hate what people do with Flash as much as the next person - but the actually tool is actually a pretty decenlt development environment (I just used the command line Flex compiler)]
I think it's one of the best Flash examples out there.
Ofcourse you can do this already in Javascript and support only some nightly build browsers. But I think it will still take a while before this will be mainstream in Javascript.
IE not implementing the tag isn't a big deal, since they expose the drawing (directx) interfaces anyway
I got a press release yesterday that said jquery was now more common than flash across the top websites. the 'flash is everywhere' argument is a bit 2004 and isn't true anymore . javascript is everywhere
That's not the same, though. Of course JavaScript is everywhere- it always has been, because it comes with browsers. The point is that Flash is also everywhere, because everyone has it installed.
I think you mean Chrome frame here? explorercanvas is an implementation of Canvas on top of SVG for IE.