Construct 3 NW.js desktop app [Deprecated]

From the Asset Store
Casino? money? who knows? but the target is the same!
  • The instructions in the original post should work for any platform NW.js supports: Windows, Mac and Linux. However I would advise to use Construct in the browser wherever possible, as it has almost all the features of the desktop build, and is more reliable.

  • As a random confirmation, I successfully used the Remote Preview tool in Linux (Manjaro).

    I used Construct 3 in Chrome, and used the remote preview tool so that I can preview my project in NWJS. I installed NWJS and needed to copy/paste the remote tool files (which was the complicated part, as Manjaro, by default, doesn't allow you to write files to the system folders - you either use the terminal to copy the files as root access, or you use a different file browser that allows root access to system files). Worked great after!

  • I ended up having issues with this on Windows. When trying to open the nw.exe alongside the package.json file, I keep getting an error in debug that says "Cannot open ZIP from file handle" with the hex right after.

    If I try to run it without it though, nw.js features become unavailable.

    Any idea as to why this might be?

  • Running Construct in NW.js is now deprecated and will no longer be supported (see the updated original post). Please switch to using Construct in the browser at editor.construct.net instead.

  • The preview for Nwjs tool is broken for me. When I load the remote preview it gives me a chromium style failed to load page.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "The webpage at preview.construct.net might be temporarily down or it may have moved permanently to a new web address.

    ERR_FAILED"

    console log:

    The FetchEvent for "https://preview.construct.net/" resulted in a network error response: the promise was rejected.

    Promise.then (async)

    (anonymous) sw.js:745

    2node:internal/deps/undici/undici:6460 Uncaught (in promise) TypeError: Failed to parse URL from [object Request]

    at new Request (node:internal/deps/undici/undici:6460:19)

    at Agent2.fetch (node:internal/deps/undici/undici:7157:29)

    at Object.fetch (node:internal/deps/undici/undici:8060:22)

    at fetch (node:internal/bootstrap/pre_execution:195:25)

    at HandleFetch (sw.js:687:10)

    Request node:internal/deps/undici/undici:6460

    fetch node:internal/deps/undici/undici:7157

    fetch node:internal/deps/undici/undici:8060

    fetch node:internal/bootstrap/pre_execution:195

    HandleFetch sw.js:687

  • Ah, that looks like a bug in NW.js 0.64.1. I reported it to NW.js here.

    NW.js 0.64.0 is not affected so download that version instead and it should work.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)