Ashley's Forum Posts

  • Isn't that what the "projectfile" plugin property type already does?

  • The issue was caused by a bug in WebView2 - it's already been discussed extensively in this thread. The next release should work around the problem.

  • If there isn't a relevant method documented in IProject, then no. I'm not sure why you'd need this as I don't believe anything else in Construct uses it - you can use "projectfile" plugin properties to let the user choose a project file. Beyond that I feel like it would probably be a poor design to automatically look at project files in the project - it sounds like a brittle design if you end up depending on specific filenames or folder structures.

  • If moving 10 files is that slow, it's probably a fault, so please file an issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. What's the difference between using C3's Audio scripting AudioContext, compared to creating a new one entirely?

    If you use the Audio plugin, Construct creates an AudioContext for that anyway, and so you may as well use the same one. Also Construct's Audio plugin handles all the surprisingly complicated code necessary to ensure that audio playback can be properly unmuted (such as handling unmuting via gamepad input), so you may as well re-use that instead of having to reinvent all that unmuting code.

    2. How much can be read/changed with C3's AudioContext?

    I can't think of any reason why you can't do absolutely anything you want with it. If you want to modify things created via Construct though, that will be tricky as it basically creates its own node graph and doesn't expose anything about that to script.

    3. Could unavailable features be crammed into C3's AudioContext, e.g. "detune"

    From script you can do anything you like with the AudioContext, so yes.

    4. I think I understand that "audio tags" are deeply-rooted in C3 rather than being something we can use within Audio scripting, but can any info about tags be gained, whether scripting an "is playing" or scripting "play sound with tags", or must we always make C3 bridge functions to achieve this?

    Tags exist solely in the Construct Audio plugin. Currently there is no way to interact with that part of Construct via the script API. At the moment the intent is either you play audio with event sheets, or play it via script. You can mix and match those approaches, but you cannot use event sheets to control audio played via script, and vice versa.

  • I guess you could try fixed distribution mode, but I've never tried it myself.

  • I think if you delete the web app manifest (appmanifest.json) then it will never appear. I don't think there's any harm in leaving it though - I've seen install prompts even on major news websites.

  • All Construct web exports are progressive web apps (PWA) that are eligible for installing as an app. IIRC the eligibility criteria changed fairly recently to be more relaxed and allow more types of pages to be installable, even if they don't provide offline support. This article explains the installability critera.

  • Last I tried using Proton to run a Windows WebView2 export didn't work. Use the Linux CEF exporter instead.

  • As per the Forum & Community guidelines, please only post in English. I used Google Translate on your post. See also this post - it is difficult for anyone to help you without more information.

  • Last I tried the Windows emulation on Steam Deck didn't work very well for Windows WebView2 exports. I'd recommend using a Linux export anyway as it runs directly on the OS rather than using a complex emulation layer which could be a source of bugs, compatibility problems or performance issues.

  • You could use Steam Cloud to sync save files between devices. See the Steamworks plugin documentation which covers that.

  • It's much easier to help if you provide a project file that other people can open and try out. Your code sample alone isn't enough to try it, so you probably won't get any help with just that.

  • It's probably because if you create a folder named 'images' in the root 'Files' folder, it ends up using the same name as the Construct built-in 'images' folder used in exported projects. Construct should prevent you using these names, but that wasn't implemented. I've added a check for that to prevent it happening again - as we're close to a stable release that check is in for the next release cycle (first beta after the next stable release).

  • If you want to keep using NW.js, you can - it's still there in the r449 LTS release. Our stats show the vast majority of users are on the latest Construct release and also the vast majority of desktop exports are now for Windows WebView2, macOS WKWebView, and Linux CEF instead of NW.js. So I'd say that basically the switch has already happened, which means it's a bit late to be asking to change anything back.