3 ms·
Do you still have to deal with all of the DOM stuff in html5/javascript?
by sixothree 14y ago
Do you still have to deal with all of the DOM stuff in html5/javascript?
- jiggy2011 14y agoYes and no. It's all still there of course. I imagine though if you want to build a game you don't use DOM elements for sprites etc. You just create a giant <canvas> element that you draw to as you would draw to a frame buffer in DirectX etc. You could use DOM elements for the UI though I guess.
- joshuacc 14y agoYep. If you examine the source of this game that's exactly how they handle the game itself.