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

New code editor; new example; bug fixes

25 February, 2025 ()

Envoyez-moi un courriel lors de nouvelles parutions

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

Notes

Over the past few weeks we've been working on a major update to Construct's text and code editor, and in this week's beta release we're ready to share our work with you! Previously Construct's code editor was based on the decent but ageing CodeMirror 5, and we've now updated it to use Monaco, the same code editor as used by VS Code. This provides lots of new code editing features, including a code minimap, scrollbar annotations, sticky scroll headers, 'Go to definition', find references, renaming symbols, and more. While a great update in its own right, using Monaco in Construct should also makesit possible to support TypeScript coding within Construct itself - we'll be exploring that in future, but for now we're focusing on support for the existing JavaScript coding features.

While we didn't have to develop Monaco itself, intergating it with Construct is still a complex job, so please be on the lookout for any issues with it and as ever report them to us following all the guidelines so we can investigate. For now you can also revert back to the legacy CodeMirror editor in Settings. This is mainly intended as a backup in case a serious problem with Monaco prevents you being able to work on your project, but as maintaining two code editors is much more complicated than just having one, we plan on removing the legacy CodeMirror editor soon.

Other changes this release include a great new example Bumble beep demonstrating hierarchies and timelines, source control improvements for scripts in event sheets, and as ever some bug fixes. Happy testing!

Update 14:58 GMT: after first publishing this release we quickly identified a server configuration change needed for the new code editor. If it doesn't look right, try clearing your browser cache and reload Construct.

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

UpvoteUpvote 31 DownvoteDownvote
Exécuter r428

Changelog iconNouvelles fonctionnalités

Not favoritedFavorited Favorited 18 favoris
New Monaco code editor

Changelog iconNouveaux ajouts

Not favoritedFavorited Favorited 4 favoris
New example 'Bumble beep'
Not favoritedFavorited Favorited 9 favoris
Settings: new section for Text / Code editor settings

Changelog iconChangements

Not favoritedFavorited Favorited 14 favoris
Scripts in event sheets now saved by line for better diffs with source control
Not favoritedFavorited Favorited 12 favoris
Allow project to handle mouse/touch move input over HTML elements
Not favoritedFavorited Favorited 6 favoris
Example Browser: rename 'Scene graph' tag to 'Hierarchy'

Changelog iconCorrections de bug

Not favoritedFavorited Favorited 6 favoris
Possible crash updating scripts from external source (regression r427)
Not favoritedFavorited Favorited 5 favoris
Recent projects not updating (regression r426)
Not favoritedFavorited Favorited 4 favoris
Hierarchies: fix unexpected results when loading complex hierarchies from JSON
Not favoritedFavorited Favorited 4 favoris
Adjust HSL effect hue description referred to incorrect range

Changelog iconAmélioration des performances

Not favoritedFavorited Favorited 11 favoris
Use low priority for editor offline caching requests to try to avoid it delaying editor responsiveness

Changelog iconMises à jour du SDK

Not favoritedFavorited Favorited 5 favoris
SDKv2: Fix InstanceType declaration when using TypeScript definitions

Partager Construct 3 la parution r428 maintenant

  • 4 Comments

  • Order by
Want to leave a comment? Login or Register an account!
    • [-] [+]
    • UpvoteUpvote 3 DownvoteDownvote
    • Ashley's avatar
    • Ashley
    • Construct Team Founder
    • 3 points
    • (0 children)

    Please note: after first publishing this release we quickly identified a server configuration change needed for the new code editor. If it doesn't look right, try clearing your browser cache and reload Construct.

  • Great update, thank you! Scripting and source control improvements are very appreciated

  • Cool, I'm currently working a lot in javascript so inevitably I'm gonna put Monaco through the wringer. There were a few things that annoyed me with Codemirror

  • Monaco is so cool! I look forward to seeing more expansions in the future, such as Typescript support and Copilot for Agent models.

    By the way, The translation terms of Command palette list seems to be forgotten.