Game hud in HTML or Canvas | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Game hud in HTML or Canvas

I was making a simple zombie survival 2d game in web using Pixi js and now I am developing Controls for it. But I dont know which one option is better canvas or html for buttons and icons ( hud ) for better performance. React says dom updates are expensive but youtubers uses html, I am totally confused !

10th Feb 2023, 4:00 PM
Abhay
Abhay - avatar
0 Antworten