Les versions Beta ne sont pas autant testées que les versions Stables
HTML layers; RTL text; Safari worker mode & lots more
28 November, 2023 ()
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 a new release cycle and we've got a big beta release for you this week! First up we have overhauled the way HTML elements work in Construct. The biggest update is that there is now the ability to set layers to be HTML layers. That means HTML elements can appear on that layer, and have other content on layers above it appear on top. This solves a limitation of using HTML content previously, where HTML content always appeared on top and things like Sprite objects could not appear on top of HTML. However now you can use HTML layers to interleave HTML content and other Construct objects! We have other updates for HTML elements, including properly preserving element sizes as they go offscreen, ensuring the Layout View reflects the Z order of HTML element objects that will appear at runtime, and even supporting dynamic HTML layers. This is all towards helping make sure HTML can be deeply integrated in Construct games, making it more viable for uses such as complex user interfaces, menus, and data tables.
We've also implemented a range of smaller additions based on user suggestions and feedback. These include support for right-to-left (RTL) text in the Text object, an option to disable spritesheets, persistent storage, changing the collision cell size to adjust performance tradeoffs, a variety of new conditions/actions/expressions, and more.
Other improvements include that worker mode, which runs the entire Construct engine off the main thread in a Web Worker, is now supported in Safari 17+. It's also now supported in Firefox 120+, which means worker mode is now supported in all three major browser engines! There's also several updates to the addon SDK, some bug fixes, and three new examples.
With great changes come risk of accidental breakage, so if any unexpected issues come up, please be patient and we'll be getting fixes in beta releases over the next few weeks. Happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r369
Nouvelles fonctionnalités
HTML layers: allows placing Construct objects on top of HTML elements
Nouveaux ajouts
Text: add support for right-to-left (RTL) text
Add Z elevation for Drawing Canvas, QR Code, Video and User Media objects
Browser: actions to set window size/position
Local storage: 'Is persistent' condition; 'Request persistent' action
Project Properties: option to disable spritesheets
System action 'Set collision cell size'
System condition 'Layer name exists'
HTML elements: now have Z order actions, allowing changing Z order at runtime
Drawing Canvas: 'Convex' option for 'Fill poly' action
Changements
HTML elements now keep their true size when partially offscreen
Layout view: HTML objects are now layered corresponding to where they appear at runtime
Enable runtime worker mode in Safari
Enable editor UI animations in Safari
Windows WebView2: block F3/F5/F7 browser shortcuts
Corrections de bug
Some hierarchies not restored properly with savegames
iOS: work around iOS bug that could cause view to shift horizontally after showing virtual keyboard
iOS: work around iOS bug that could allow canvas to be selectable in some circumstances
Hierarchy connections could be shown incorrectly on global layers
Layers bar: changing layer global setting did not always update global icon
Debugger: some triggers did not work when in CPU profiler mode
Properties Bar: fix indeterminate state checkboxes not displaying correctly in dark/light themes
Mises à jour du SDK
Add IProject methods GetObjectClassBySID(), GetInstanceByUID()
Add IAnimation & IBehaviorType method GetName()
Fix wrong return type of IAnimationFrame.LoadWebGLTexture()
WebGPU: possible editor crash using drawing plugin (take 2)
Add IBehaviorInstance.GetObjectInstance() (take 2)
Add IObjectInstance & IBehaviorInstance method GetExternalSdkInstance() (take 2)
Scripting updates
Add IRuntime.setCollisionCellSize()
Add ILayer.isHTMLElementsLayer
Add 'isConvex' parameter to IDrawingCanvasInstance.fillPoly()
Partager Construct 3 la parution r369 maintenant