Search the Community
Showing results for tags 'web workers'.
-
Hi devs, yesterday, I was reading about the OffscreenCanvas (https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) and found one cool demo at https://developers.google.com/web/updates/2018/08/offscreen-canvas; Then I decided to give it a go by creating https://codepen.io/anon/pen/ReEGxp, but the engine fails to initialise at the worker thread reason- "window not found !" ; Is there any way by which I can bypass this check ? I tried passing canvas context but no results ! It is supported by Three.js.. so I guess, shouldn't be an unknown area to explore
- 1 reply
-
- offscreencanvas
- web workers
-
(and 1 more)
Tagged with:
-
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?
-
- html5
- javascript
-
(and 1 more)
Tagged with: