Beta versions are not as thoroughly tested as stable
TypeScript support; Remote Preview with WebView2
03 October, 2023 ()
Email Me New Releases
Don't miss out on the latest and greatest new features in Construct 3
Notes
This beta release adds a significant upgrade to the scripting feature: TypeScript is now supported! TypeScript is an extension to JavaScript that adds types, such as specifying that a variable is a number, or which kind of class an object is. That then allows things like better autocomplete based on static typing, as well as other useful development tools. To get started, save your project as a folder, right-click the Scripts folder in the Project Bar, and select Set up TypeScript. This sets up the project for TypeScript, including adding an official set of type definitions covering all Construct APIs, ready to use with VS Code. Then as you write TypeScript code, it can be automatically compiled to JavaScript and loaded by Construct on the next preview (with the Auto reload all on preview setting). Both TypeScript and JavaScript are among the most popular programming languages in the world, and now you can use industry-standard static type tooling when writing code in Construct too! We'll have more documentation and samples for this coming soon, but it's here in this beta release so you can start trying it out right away.
This release also adds a new Export for Remote Preview option when exporting for Windows WebView2. This allows using Remote Preview with the WebView2 export option, allowing the same Remote Preview workflow that was possible with NW.js, helping you rapidly test features only available in the WebView2 export. Stay tuned for more updates!
Like this Release?
Let us know with a thumbs up!
Launch r361
New Features
New Additions
Windows WebView2: add 'Export for Remote Preview' setting
Bug Fixes
Possible issue using advanced minify exports in DOM mode
SDK updates
Add IPluginInfo/IBehaviorInfo methods SetScriptInterfaceNames(), SetTypeScriptDefinitionFiles()
Prevent '[???]' appearing as default value for text properties
Share Construct 3 Release r361 Now