4 ms·
> Game UI in the DOM. When you need to update something 60 times a second all performance matters. What sort of Game UI has to be updated 60 times per second
by capableweb 4y ago
> Game UI in the DOM. When you need to update something 60 times a second all performance matters.
What sort of Game UI has to be updated 60 times per second and would be implemented with something like React?
In-game UI like healthbars would be implemented in canvas/webgl or whatever you use for the game itself. The UI around the game can be implemented as DOM and overlayed, but rarely have to be updated 60 times/second