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 !
Exécuter r428
Nouvelles fonctionnalités
Nouveaux ajouts
New example 'Bumble beep'
Settings: new section for Text / Code editor settings
Changements
Scripts in event sheets now saved by line for better diffs with source control
Allow project to handle mouse/touch move input over HTML elements
Example Browser: rename 'Scene graph' tag to 'Hierarchy'
Corrections de bug
Possible crash updating scripts from external source (regression r427)
Recent projects not updating (regression r426)
Hierarchies: fix unexpected results when loading complex hierarchies from JSON
Adjust HSL effect hue description referred to incorrect range
Amélioration des performances
Use low priority for editor offline caching requests to try to avoid it delaying editor responsiveness
Mises à jour du SDK
SDKv2: Fix InstanceType declaration when using TypeScript definitions
Partager Construct 3 la parution r428 maintenant