I wish to make the GUI for my gamemode in HTML but when I create a DHTML VGUI element and make it load the webpage with the GUI on it, all the animations, which worked fine when tested in-browser, seem to lag.
The game itself doesn't lag.
As far as I know, DHTML uses awesomnium, so there shouldn't be any major lag differences between it running in Chrome and DHTML, but there clearly is.
I've written my animations in both Javascript and purely CSS (triggered by Javascript). Either way, it seems to lag when in DHTML.
It runs smoother in the steam overlay. I can tell that the DHTML has it's own fps set to like 15.
My question is:
Can I adjust the performance of the DHTML somehow?
OR
Is there another way to have HTML overlay the screen? I know the main menu of Gmod uses HTML, so maybe something like that.
what's up there
Sorry, you need to Log In to post a reply to this thread.