2 ms·
It's also making canvas window smaller, so it runs faster :) At least when it's using canvas software renderer, 20% of screen size is making a big difference i
by ajuc 15y ago
It's also making canvas window smaller, so it runs faster :)
At least when it's using canvas software renderer, 20% of screen size is making a big difference in fps (on my old PC 30 versus 37 fps).
But it would be worth it just for much simpler ui programming.
- jcromartie 15y agoAnd not just simpler, but way simpler, and way easier to get nice results. Think of all the stuff you get "for free" by using HTML in a modern browser. You'd have to write all this stuff by hand or lean on a game library to implement: text input, input focus, buttons, UI events, styled text (bold, italic, etc.), text shadows, box shadows, skinned UI (CSS). In fact, I bet big name games will increasingly embed things like WebKit and use HTML5 and CSS for their UIs in the future.