Beta versions are not as thoroughly tested as stable
Custom actions; new pathfinding features; move along curved paths & more
31 January, 2023 ()
Email Me New Releases
Don't miss out on the latest and greatest new features in Construct 3
Notes
It's the start of a new beta release cycle! This release introduces a major new feature: custom actions! At the moment these work a lot like functions, but they are associated with an object type or family and appear in their action list, which helps organize your logic in the appropriate place. We have a few more ideas to take this further over the next couple of releases, including better support for families, and in the long term we think it will also become part of a "prefabs" style feature. So it's not yet the final form of the feature, but we're creating a good basis to continue building on top of.
This release also brings a few new features and improvements to the Pathfinding behavior. This includes a path groups feature to help spread out paths, a direct movement setting to help smooth paths, and a few other smaller improvements and tweaks. These have all arisen from the Command & Construct game development project, and these features are explained in more detail in the blog post RTS devlog #9: Extreme pathfinding. We've also added a couple of new example projects which interactively demonstrate these features.
The Move to behavior now also supports moving along curved paths when following a timeline, which enhances the use of timelines as a way to design paths for objects to follow at a fixed speed rather than at fixed times.
Other than that there's a raft of other additions, changes and bug fixes. These include some new expressions, usability improvements, and the usual batch of bugs squashed, as ever largely based on all the feedback we get from you. Happy testing!
Like this Release?
Let us know with a thumbs up!
Launch r328
New Features
New Additions
Pathfinding: add 'Direct movement' setting
Common expressions BBoxMidX/Y
Pathfinding: add action to set move cost
System expressions ViewportMidX/Y
Pathfinding: start/end path group actions, for spreading out paths
Move To: support moving along a timeline with a curved paths
New examples 'Pathfinding direct movement', 'Pathfinding groups', 'Move along curved path'
Layout view: hold tab while right clicking to show the context menu on the current selection rather than the top instance
Templates & Hierarchies: add alternate keyboard shortcuts 'Alt Gr + [' and 'Alt Gr + ]' for the 'replace whole" and 'modify existing' template options
Changes
Pathfinding: improve A* heuristic when diagonals enabled
Templates: duplicating an instance which is a template now sets it as a replica of the corresponding template
Pathfinding: increase maximum allowed cost from 2^26 to 2^31
Avoid redundant title bar text when editor installed as an app in Chrome/Edge
Bug Fixes
Pathfinding: may not have removed redundant path nodes in some cases
Event sheet view: possible crash cutting and pasting function parameters
Sprite: possible runtime crash changing layout before 'Load image from URL' finished
Templates & Hierarchies: 'replace whole hierarchy' context menu option not producing the expected results every time
Animations editor: crash dragging an image from another browser
Animations editor: some zip files failed to be imported correctly
Animations editor: animation preview was not always consistent with the runtime
Tweens: incorrect end result in some tweens involving size and hierarchies
Timeline bar: editor preview not producing the expected results in some cases involving hierarchies
UI State: active layer was not restored properly on project load
SDK updates
Add runtime event "beforelayoutstart"
Scripting updates
Add Pathfinding property directMovementMode
Add Pathfinding map property moveCost
Add Pathfinding methods startPathGroup(), endPathGroup()
Share Construct 3 Release r328 Now