Les versions Beta ne sont pas autant testées que les versions Stables

Les versions Beta ne sont pas autant testées que les versions Stables

TypeScript coding; more Monaco improvements; debugger improvements; new demo game; bug fixes

01 April, 2025 ()

Envoyez-moi un courriel lors de nouvelles parutions

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

Notes

It's the start of a new release cycle, and we have a huge update for you this week! Hot on the heels of our new Monaco-based code editor, we are now pleased to launch support for TypeScript coding in Construct! This was previously supported for external editors only, but now we've been able to combine support for that with the new Monaco code editor to allow coding with TypeScript in Construct itself. This is designed to be equivalent to the JavaScript coding capabilities, including support for TypeScript in event sheets (which was not previously possible even with an external editor). You can also mix and match JavaScript and TypeScript so you don't have to decide up-front which to use for a project. That also helps with transitioning existing JavaScript projects to TypeScript, and we've added some more tools to help with that, including the ability to switch code blocks in event sheets between JS and TS, as well as switching an entire project's language (which does things like rename project files but does not change your code for you). We've also started adding lots of TypeScript coding examples in the Example Browser with more to come.

Support for TypeScript is a major new addition to Construct's coding capabilities, bringing industry-standard type checking as well as useful tooling such as precise autocomplete, while maintaining interoperability with external code editors like VS Code. There's a lot more to do on providing examples, documentation and tutorials - that will all take a while but expect to see it developing in the months following the next stable release.

Other than that this release still includes more, including a new demo game Airborne Explorer, improvements for the new Monaco code editor, updates for the debugger, optimized 3D rendering in WebGL, refinements to TypeScript definitions, and of course a batch of bug fixes. Happy testing!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

UpvoteUpvote 33 DownvoteDownvote
Exécuter r433

Changelog iconNouvelles fonctionnalités

Not favoritedFavorited Favorited 10 favoris
TypeScript coding in the editor

Changelog iconNouveaux ajouts

Not favoritedFavorited Favorited 5 favoris
New demo game 'Airborne explorer'
Not favoritedFavorited Favorited 2 favoris
Example Browser: new 'Coding' filters 'Event sheets only', 'JavaScript', 'TypeScript'
Not favoritedFavorited Favorited 2 favoris
Example Browser: add TypeScript variants of many existing JavaScript example projects
Not favoritedFavorited Favorited 3 favoris
Monaco: use TypeScript definitions for JavaScript files (enables some parameter hints)
Not favoritedFavorited Favorited 3 favoris
Event sheet view: add language icon for scripts in event sheets
Not favoritedFavorited Favorited 9 favoris
Debugger: section to view hierarchy parent and children
Not favoritedFavorited Favorited 9 favoris
Debugger: ability to expand/collapse sections
Not favoritedFavorited Favorited 10 favoris
Debugger: add properties to control instance time scale
Not favoritedFavorited Favorited 7 favoris
Add system expressions ProjectID and ProjectUniqueID

Changelog iconChangements

Not favoritedFavorited Favorited 0 favoris
Make TypeScript 'Spell caster' example open directly in editor (rather than GitHub)
Not favoritedFavorited Favorited 1 favoris
Remove support for CodeMirror
Not favoritedFavorited Favorited 0 favoris
Change some references to 'Script' to 'JavaScript'
Not favoritedFavorited Favorited 0 favoris
Rename scriptsInEvents.js to javaScriptInEvents.js
Not favoritedFavorited Favorited 1 favoris
Update Project Bar script/file icons
Not favoritedFavorited Favorited 1 favoris
Monaco: ensure editing scripts in event sheets matches event sheet font size
Not favoritedFavorited Favorited 4 favoris
Audio: improve handling of resuming from suspended/interrupted state

Changelog iconCorrections de bug

Not favoritedFavorited Favorited 3 favoris
Possible error building spritesheets in some specific projects (regression r426)
Not favoritedFavorited Favorited 6 favoris
Tiled Background: fix precision issues with large image offsets in some cases
Not favoritedFavorited Favorited 3 favoris
Drawing Canvas: fix possible glitches drawing ellipses on some devices
Not favoritedFavorited Favorited 3 favoris
Debugger: window title did not update when used in a popup window
Not favoritedFavorited Favorited 0 favoris
Monaco: disable code folding for scripts in event sheets due to bugs
Not favoritedFavorited Favorited 0 favoris
Monaco: error using script files with certain special characters in the filename
Not favoritedFavorited Favorited 0 favoris
Monaco: crash if using more than 200 project files
Not favoritedFavorited Favorited 0 favoris
Monaco: updating scripts in events not working correctly when using files with CRLF line endings
Not favoritedFavorited Favorited 3 favoris
Timelines: fix incorrect calculations when combining size, scale and frame property tracks

Changelog iconAmélioration des performances

Not favoritedFavorited Favorited 9 favoris
Optimize 3D rendering in WebGL (when EXT_conservative_depth supported)

Changelog iconMises à jour des langages

Not favoritedFavorited Favorited 1 favoris
Support translation for some languages in the Monaco editor

Changelog iconScripting updates

Not favoritedFavorited Favorited 3 favoris
Add IRuntime properties projectId, projectUniqueId, tickCount
Not favoritedFavorited Favorited 0 favoris
TypeScript: in type definitions use Vec2/3/4Arr type instead of number[]
Not favoritedFavorited Favorited 0 favoris
TypeScript: missing type definition for runtime.timelineController
Not favoritedFavorited Favorited 0 favoris
TypeScript: update various other type definitions

Partager Construct 3 la parution r433 maintenant

  • 10 Comments

  • Order by
Want to leave a comment? Login or Register an account!