I am working on a project at the moment where me and a few friends created a streetfighter style game. The game is more or less finished and everything works perfectly when I run it on the desktop. we decided we wanted people to be able to play the game through the browser so we used pygbag to make this possible, the game is able to run in the browser but all of the characters are extremley slow almost like they are floating and I have no clue why this has been happiening and ive been trying to fix it for a few.
I would post the code for the game but it is quite a large project, and the game itself isnt the problem its using pygame with it. i was wondering if anyone else has ran in to this problem before and how/if you were able to fix it? here is a link to the pygbag game on itch.io so you can see what i mean by the characters floating: https://dylanomahony.itch.io/martial-mayhem .