Jump to content

Web Workers in local apps


Armand
 Share

Recommended Posts

Hi,

 

I am porting a Flash/AIR game to HTML5 but I hit a roadblock.

 

My game relies on workers. There are some intensive work that takes seconds to complete. Running in the main thread is not an option.

 

My AIR app runs on web, pc, mac, android and iOS so naturally I'd like the HTML version to do the same. However I just discovered that Chrome doesn't load local worker files. I tried an ugly workaround that uses a Blob to create the worker but that doesn't work in IE11.

 

So, do you know of any way to get workers working in all the latest browsers (I'm not concerned about older ones), on desktop and mobile, for local apps?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...