Hacker News new | ask | show | jobs
by sixothree 4867 days ago
Do you still have to deal with all of the DOM stuff in html5/javascript?
1 comments

Yes 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.
Yep. If you examine the source of this game that's exactly how they handle the game itself.