Threading on HTML 5?

Hello! I just made a HxGPT client for my game, but, I noticed it freezes when not run on another thread. I need this game to be accessible in-browser, so, is there any ways I could get around threading not being avalible via HTML? Maybe uploading the Exe to Itch.io so you could play it in-browser? I heard that is possible but i am not too sure. Thank you for any info

You’re looking for web workers. You can follow that guide if you only want to target HTML5, or use Lime’s implementation if you want a cross-platform app.

1 Like

ok, thank you, I will look into that