5 ms·
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
by tieTYT 13y ago
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.
- dspillett 13y agoIs 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.
- tieTYT 13y agoSure, 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?
- shmerl 13y agoArguably, canvas should be more optimized for gaming. Especially with the use of WebGL and etc.
- dspillett 13y agoFor 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!
- masswerk 13y agoExactly.