Re:Space Invaders 404
by dspillett on Friday June 07, 2013 @01:49PM
(#5840398)
Is it compatible with pre-canvas browsers (legacy IE and so forth)? That could be a valid reason particularly if it was written a while ago.
[ Parent
| on HN ]
Sure, that's a valid reason. I guess I should have stated the intent of my question: Am I going down a bad path by trying to make my game with canvas when I could be doing it with a bunch of divs like this page?
For writing a new game I'd go Canvas generally. It will perform far better in many cases, will often be easier to develop/maintain, and supporting legacy IE and older mobile browsers is just going to drain your time for little gain.
Of course your target audience, if you have a more specific market in mind, may make another decision for you!
Arguably, canvas should be more optimized for gaming. Especially with the use of WebGL and etc.