News for hackers. Stuff that matters.
Re:Space Invaders 404 by tieTYT on Friday June 07, 2013 @01:30PM (#5840272)
This seems to be done with divs and dom manipulation. Anyone know why they didn't use HTML5 canvas for this? I'm curious because I'm currently making an HTML5 canvas game.
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.
Re:Space Invaders 404 by tieTYT on Friday June 07, 2013 @01:56PM (#5840456)
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?
Re:Space Invaders 404 by dspillett on Monday June 10, 2013 @04:45AM (#5853121)
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!

Re:Space Invaders 404 by shmerl on Friday June 07, 2013 @02:22PM (#5840663)
Arguably, canvas should be more optimized for gaming. Especially with the use of WebGL and etc.
Re:Space Invaders 404 by masswerk on Friday June 07, 2013 @08:00PM (#5842914)
Exactly.