max fang's Recent Forum Activity

  • I made a simple mistake. After uploading the new Construct Arcade package, I noticed during debugging that the webpage was using the cached main.js file, which caused the address changes I made not to take effect. After clearing the cache, everything worked fine. The script used is as follows:

    globalThis.messagePort = await runtime.createWorker("./scripts/project/request_worker.js");
    
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Some additional information:

    I am using the following in the program:

    await runtime.createWorker("./request_worker.js");
    

    Exporting the Construct Arcade platform. doesn’t work.

    After unzipping the file and testing locally, I found during debugging that "request_worker.js" is missing.

    By copying "request_worker.js" to the root directory, it runs perfectly.

    When debugging the Construct Arcade webpage, I found that the directory is "/72797/0/scripts/project/request_worker.js".

    I changed the link to "https://construct-arcade.com/72797/0/scripts/project/request_worker.js"(The link test can be accessed normally).

    await runtime.createWorker("https://construct-arcade.com/72797/0/scripts/project/request_worker.js");
    

    Export and upload, still doesn’t work.

  • When publishing to the Construct Arcade platform, the runtime.createWorker() function cannot be used. Is anyone else experiencing the same issue? Please help me with a solution.

    Tagged:

max fang's avatar

max fang

Member since 26 Mar, 2024

None one is following max fang yet!

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies