Re:Why HTML5 is the best platform for rapid game development
by jjcm on Saturday May 19, 2012 @09:39AM
(#3995897)
Also performance right now simply isn't up to par. I'm writing some apps right now that heavily utilize the canvas element, and I'm having to rewrite a large portion of it at the moment simply because I can't get more than 5 fps on one of the new ipads.
[ Parent
| on HN ]
Re:Why HTML5 is the best platform for rapid game development
by austinhallock on Saturday May 19, 2012 @11:08AM
(#3996075)
I think the biggest thing I learned to improve fps was drawing items to a canvas to use later in drawImage. Especially with svg, rather than draw the svg each time, on load I draw them all to 'subcanvases' and then pass that as the parameter for drawImage.
Re:Why HTML5 is the best platform for rapid game development
by AshleysBrain on Saturday May 19, 2012 @12:51PM
(#3996362)
Really? I can get 25-30 fps on a canvas game on Safari for iPad 2 or 3.