5 ms·
YEah, but why wouldn't you want HTML CSS to render your ui. I'm going to revisit electron / nw.js for games again this year. Last time I tried 4-5 years ago I
by jay_kyburz 3y ago
YEah, but why wouldn't you want HTML CSS to render your ui.
I'm going to revisit electron / nw.js for games again this year. Last time I tried 4-5 years ago I could not get smooth animation with request animation frame.
- hutzlibu 3y agoPerformance. I recommend pixijs. But it depends what you do, smooth animations of some elements is possible with html. But in my case it got complex and html was the bottleneck. Now I have the same assets in Pixi and it runs around 100× faster. No more lags, no stuttering. No more html. (Allmost, some static content is still HTML, but that is fine, as long as the DOM does not get modified)