Ashley's Recent Forum Activity

    • Post link icon

    I addressed this recently in this forum post.

  • The latest release adds a 'Bundle assets' option for the Windows WebView2, macOS WKWebView and Linux CEF export options. This will combine all the exported files in the www subfolder into a single file named assets.dat, meaning it is no longer possible to casually browse the exported files in the install folder. The file is not encrypted, but it should do the job of preventing anyone easily finding the files.

    It's pretty similar to package.nw in NW.js (being a non-encrypted bundle file), but it has the additional advantage of having much better performance. With NW.js package.nw was just a zip file, and NW.js would fully extract it to a temporary folder on startup, which could be too slow to be usable for large projects. With our new export options using assets.dat it does not need to extract anything and can directly read data from that file, so there is no impact to startup time even for very large projects. Also as assets.dat is not a zip file, you can't use the old trick of renaming package.nw to pckage.zip to get at the files, so arguably it's better protected too. So overall I'd say the new export options handle this much better now than NW.js ever did.

  • With the latest release (r424 which just went out today), you can choose 'Bundle assets' when exporting for Windows, macOS or Linux. That will bundle all your exported project files in to a single file named assets.dat which prevents anyone being able to browse the files. It's not encrypted, but it's probably enough to stop casual inspection of the game files.

  • It's working for me right now, and our monitoring system hasn't identified any outages for the past week or so. It may be a problem with your Internet connection.

  • It's difficult to help without more information, such as sharing the affected project, or checking the browser console for more detailed error messages.

  • Thanks, fixed the spelling.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Families exist mainly to help handle picking in event sheets. I don't think they have any particular applicability to scripting.

  • i am coming from c# and backends like php where i am used to strict types and not loose types like in js.

    You might like to try using TypeScript which gives you strict type checking.

  • You can either change the fullscreen mode to fill the entire display and then you can control everything that is drawn (but have to deal with different aspect ratios), or you can use HTML/CSS to customize what appears in the background. The area with the background color is just the HTML document background, and the project appears on a canvas element within that.

  • In settings, do you have 'Notify me about updates to beta releases' set? If so that's correct - you've asked it to tell you if there's a newer beta release, and so if you visit the latest stable release with a newer beta available, you'll get an update prompt.

  • You haven't shared a project file so I'm guessing, but I suspect you may need to generate a URL that is relative to the page URL, otherwise it takes it relative to the script being run, which is in a subfolder when exported. Something like new URL("worker.js", location.href).toString() should do the trick.

    However I'd add you probably don't need to use runtime.createWorker() any more - IIRC all modern browsers now support creating nested workers, and that method mainly existed to work around browsers that didn't support that.

  • Is there a way to check if the File System plugin is active or available during runtime?

    That's what the Desktop features supported condition is for.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 6 Mar, 2025

Twitter
Ashley has 1,447,382 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x109
    Coach One of your tutorials has over 1,000 readers
  • x63
    Educator One of your tutorials has over 10,000 readers
  • x3
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs