Beta versions are not as thoroughly tested as stable

Beta versions are not as thoroughly tested as stable

Beta branch

Construct 3 r362

'Offline support' setting; folder project improvements; TypeScript updates

11 October, 2023 ()

Email Me New Releases

Don't miss out on the latest and greatest new features in Construct 3

Create an Account

Notes

We're keen to make sure there's a smooth workflow while using TypeScript in Construct. So in this release we've made some updates to how folder projects work. In particular reloading from the folder now also adds and removes items to match what's on disk, which helps ensure things like externally created script files get added.

There's also a new 'Offline support' checkbox for web-based exporters. This allows you to opt-out of adding the Service Worker that handles offline caching. While we recommend it's left on for publishing, it can be useful to turn off during development to avoid the offline cache getting in the way of updates.

Other than that we have various updates for TypeScript and JavaScript coding, and a few other bug fixes and tweaks. Happy testing!

Like this Release?

Let us know with a thumbs up!

36
Launch r362

New Additions

17 favourites
Add 'Offline support' setting for web exports, allowing opting-out of offline caching
13 favourites
Project Bar: allow multiple selection when using 'Reload from folder' for files

Changes

13 favourites
Folder projects: 'Reload all from folder' now also creates/deletes files/folders to match state of project folder
19 favourites
Folder projects: allow opening if project files are missing (instead of failing to open project)
13 favourites
Folder projects: upon opening project, automatically reload all file folders to match state of project folder
9 favourites
Update pangram used for font preview to include 's'

Bug Fixes

5 favourites
Text: icons did not update when updating icon set sprite images
5 favourites
Text: crash choosing family for icon set in editor
5 favourites
SVG Picture: crash changing image and immediately destroying
5 favourites
HTML Element: wrong description for 'Set scroll position'

Scripting updates

7 favourites
'Set up TypeScript' did not work when no script files used
5 favourites
Ensure InstanceType namespace exists at runtime
6 favourites
Update some TypeScript definitions
5 favourites
Add IAnyProjectLayout/IAnyProjectLayer type definitions for effects autocomplete
5 favourites
Remove 'Array is discarded immediately' warning as it could show false positives
5 favourites
Fix error using IAudioObjectType after advanced minification

Share Construct 3 Release r362 Now

  • 9 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Thank you for reverting back to what C2 did of opening a project anyway even if certain files were missing.

  • I'm amazed at how many new features are coming to the engine.

    Fantastic

  • Awesome! I used to do quite a dirty (but easy-to-automate) trick to disable offline mode (emptying the contents of sw.js) for some HTML5 exports, now I can do away with that :)

  • the folder update with the offline options are great features!! it will make working with teams and big projects a lot easier.

  • Wow, this team is churning out updates like crazy! I'm so grateful for their hard work and dedication.

  • TS is great :)

    but also can you fix some bugs:

    - Typing for IRuntime["sortZOrder"], callback must return number not boolean;

    - Typing for ConstructEventTarget, first you need mapping which event fit to which argument

    type in callback, like it's work with default addEventListener in js, document.addEventListener("click", (e: MouseEvent) => {}), cause for now I have an error for example when listen pointerDown

    runtime.addEventListener("pointerdown", (e: PointerEvent) => {}) PointerEvent is not ConstructEvent;

    - Externally created files appears in project only if they are created in "scripts" subfolders which created via Construct, so you need to add "scripts" subfolder in Construct and then any added scripts in this folder in external IDE appears in Construct after update or preview with enable auto update;

    And again - Typescript is great, it's very nice you moving in this direction, thank you guys!

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (0 children)

      Please report any problems to the issue tracker as things only mentioned in comments are easily lost and forgotten.

  • I talked about problems while working with files in the comments under last update, a now it's already there.. it's so nice to see this! It is a really cool and powerful direction, I really want to see at full shine

  • What typescript?! Make tools to work with the user interface! All engines have, but we have html objects...

    construct23.ideas.aha.io/ideas/C23-I-59