Les versions Beta ne sont pas autant testées que les versions Stables
Rename built-in Functions; scripting updates; bug fixes & more
29 April, 2025 ()
Envoyez-moi un courriel lors de nouvelles parutions
Don't miss out on the latest and greatest new features in Construct Animate
Notes
In this release we've added the ability to rename the built-in Functions object. As the built-in Functions object does not appear in the Project Bar it needs a new way to rename it, so we've added a right-click Rename option when adding an action, as well as an option in the Project Bar project item's context menu, under the Tools sub-menu (the same place View project statistics appears). This also means the name used when calling functions from expressions can be changed, and that also means the name can be translated, whereas before it was hard-coded as the English name "Functions". As that name can appear in expressions, for backwards-compatibility reasons non-English users will see existing projects switch to the English name "Functions", but it can be renamed back to the translated version, and new projects will default to the translated name.
Other improvements include updates for the Layers Bar and Drawing Canvas plugin. There are also some scripting updates, notably now that there are script APIs to access families, and as ever there's a batch of bug fixes. Happy testing!
Vous aimez cette parution ?
Faites-le nous savoir avec un pouce haut !
Exécuter r437
Nouveaux ajouts
Option to rename the built-in 'Functions' object
Changements
Allow translation of built-in Functions object name in expressions
Layers bar: show the source layer sub-layers in overridden layers
Layers bar: show an overridden layer's own sub layers with an index of -1
Drawing Canvas: increase maximum size of polygon for 'Fill poly' in concave mode
Drawing Canvas: increase tolerance in surface size calculation to try to avoid unnecessary surface recreation
Corrections de bug
Cloud save: possible error saving to OneDrive
Loading the same URL in to Sprite then Tiled Background did not tile correctly
Flowcharts: starting a new flowchart with the same tag of an existing one not creating a new flowchart immediately
Timelines: unexpected movement stopping a timeline and resuming it on a keyframe reached condition (regression r425)
Timelines: avoid setting keyframes with invalid times when editing a nested timeline
Tweens: wrong instance used by the 'On Loop' and 'On Ping Pong' triggers
Possible runtime crash restarting layouts with hierarchies
Some combinations of hierarchies and containers were not triggering 'On Created' on all involved instances
Instances bar: inconsistent state after setting a hierarchy through the bar which could lead to crashes
Hierarchies: unexpected behaviour loading complex hierarchies from JSON
Scripting updates
Add IRuntime "loadingprogress" event
Use separate IObjectType and IFamily script interfaces (instead of IObjectClass for both)
Add IObjectType getAllFamilies(), families(), isInFamily()
Add IFamily getAllObjectTypes(), objectTypes(), hasObjectType()
Partager Construct Animate la parution r437 maintenant