Les versions Beta ne sont pas autant testées que les versions Stables
SDK updates; new examples; bug fixes & more
21 May, 2024 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct 3
Notes
In this week's release we've got a batch of improvements for the new Addon SDK v2, including TypeScript support for addon development, developer experience improvements, and more. There are also a variety of scripting updates, which also all apply to the Addon SDK v2, as it now has a unified API with Construct's scripting feature - which helps make it quicker for us to improve both, as well as easier to switch between the scripting feature and addon development. We expect this kind of work to improve the new addon SDK and scripting feature in tandem to continue over the next year and beyond, including further broadening the API surface over time.
Other changes include some additions for managing addons, some TypeScript improvements, and some new examples. In particular the 'Collision methods' example has a JavaScript module with some handy "push out" methods that can easily be customized and re-used in other projects - or in addons, now the API is unified. There are also a few bug fixes, particularly around templates, and a fix to ensure flowcharts can be used in containers properly (with a new example to demonstrate that too). As ever there's more one the way, and happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r392
Nouveaux ajouts
Hierarchies: show 'Select mode' property of root instances when there is a multi-selection
New examples 'Collision methods', 'Flowcharts and containers', 'Relic hunter'
Addon manager: add search field and filtering checkboxes
Install addons by drag-and-drop .c3addon to main window (requires addon SDK v2 for plugins/behaviors)
Changements
Audio: use browser built-in support for WebM Opus on Safari 17.5+
Corrections de bug
SpriteFont: did not always handle background opacity correctly
Templates: possible crash selecting an instance which has been set as a replica
NW.js: ensure background clears after showing Steam overlay
Templates & Hierarchies: propagate the relative Z indexing of a template's hierarchy
Custom eases: some edge cases producing unexpected results
Flowcharts: feature was not working as expected when used together with containers
Flowcharts: crash copying nodes by dragging
Mises à jour du SDK
Add 'Developer mode' main menu section when developer mode enabled
SDK v2: add support for writing addon runtime scripts in TypeScript (use 'Set up TypeScript for addon' in developer menu)
SDK v2: fix error creating world instances
SDK v2: add IRendererText.setCssColor()
SDK v2: add ISDKDOMPluginBase._addElementMessageHandlers()
SDK v2: make editor type and instance classes, and runtime plugin/behavior and type classes, optional to define
SDK v2: fix some action/condition parameters returning wrong types
Add IPluginInfo/IBehaviorInfo method SetC3RuntimeScripts()
Scripting updates
TypeScript: change tsconfig.json default target to ES2021 for better minify support
Fix setting up TypeScript not working (regression r389)
TypeScript: fix & update some type definitions
Add static method IBehavior.getByConstructor()
Add IRuntime "afterload" event
Partager Construct 3 la parution r392 maintenant