So I exported my project as HTML5 and uploaded it to itch, setting it so that it plays embedded in the browser, and it lags, a ton. (I'm getting like 5 fps)
I'm fairly confident it's not a problem with code, because when I uploaded a nearly empty test project the lag is still there.
As for settings, I have almost everything on default (project setting's window stuff, HTML export settings stuff all on default). For the itch side of things I have everything on default except for the viewport size which is 1600x900 (same as project setting)
Any clue on how to fix the lag? what more information should I provide?