HTML 5 Asteroids
dougmcinnes.com
dougmcinnes.com
Wow that's fantastic. Now someone make Missile Command.
Pegs my CPU though (Firefox and Chrome)
Open source too: http://github.com/dmcinnes/HTML5-Asteroids
update: I tried a few flash versions on the web to compare
sorry to say they use a fraction of the CPU, at least under Flash 10.1rc4
I assume this is to intentionally maximize the framerate. ("renice" is your friend if you have something more important to do in the background.)
I mean.. that's asteroids, i have a Core2Duo, 4GB RAM, 1024MB graphicscard und the asteroids are not smooth, they are flickering a little...
They should also try to recreate the arcade experience with the painted backgrounds, like from here:
Why would SVG make more sense than canvas? Doesn't Canvas use a similar vector drawing model that you find in Postscript, Java2D and SVG? It seems to me that the main difference between the two is that one is an API and another is markup. So what makes SVG more suited for vector games?
I would think needing to have objects for each element in the SVG's XML would be unnecessary overhead, and wouldn't really buy you anything in return.
Anyway, i really appreciate the effort. One step closer to a flash-less web.
If the author doesn't have an iPad then it's going to be a bit difficult for him to know how this will perform. Possibly he's just made sure it works OK for the 99.99% of people not using iPads.
But no, the iPad should conform to standards, and support those standards. If the iPad is not capable of supporting those standards in a usable manner, it's the iPads problem.
I think when one designs something like this, take cognizance that more and more devices have virtual keyboards.
On a contrarian note, a cross-platform game framework here could perhaps provide for remappable controls and performance tuning. This same cross-platform framework is labeled by Jobs as a threat to Apple's marketshare.
Perhaps Apple should not be so quick to bludgeon developers with claims of The One Best Way to the exclusion of all others.
Edit: Hey! I found it :) http://users.tpg.com.au/_dp/dave_asteroids.html
http://samples.msdn.microsoft.com/workshop/samples/dhtmltech...
Only works in IE though.