Ashley's Forum Posts

  • 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.

  • You do not have permission to view this post

  • Thanks, fixed the spelling.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • I can't find anything that says Game Center is a requirement to publish to the Apple Arcade. It's also possible a third-party addon could support Game Center and if there really is demand for it I'd expect to see such an addon appear at some point.

  • Exoticaleathers - your response sounds like it was AI generated - it reads like a plausible response but is actually misleading. Please see the Forum & Community guidelines which don't allow the use of AI in the forum.

  • Support for the Game Center plugin was deprecated in r413. As far as we can tell it gets very little usage, very few iOS users use Game Center, and it was difficult to maintain.

  • With the File System object in a Windows WebView2 export, it can be done like this:

    • When you want to save (e.g. on pressing 'S'), use the Save to JSON system action
    • In the system trigger On save complete, use the File System action Write text file to write to something like picker tag "<documents>", folder path "mygame/mysave.json", with text set to the system expression SaveStateJSON

    That will then save the current game state to a path like Documents/mygame/mysave.json in a desktop exporter like Windows WebView2.

    To load you can do what amounts to the same thing in reverse:

    • When you want to load (e.g. on pressing 'L'), use the File System action Read text file to read from the same details (i.e. picker tag "<documents>", folder path "mygame/mysave.json") - but use a file tag like "loading"
    • In the File System trigger On file operation complete, enter the file tag "loading" again - this triggers when the save file has been loaded. Then use the system action Load from JSON to load the expression FileSystem.FileText.

    That's the basic pattern - once you get that working it shouldn't be too hard to vary it for multiple saves (just change the file path). You could also use List content to find the existing save files.