Sign in to follow this  

Web Workers in local apps

Recommended Posts



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?

Share this post

Link to post
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.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.