Beta versions are not as thoroughly tested as stable

Beta versions are not as thoroughly tested as stable

Beta branch

Construct 3 r329

Family custom actions and overrides; 'On signal' trigger; bug fixes

07 February, 2023 ()

Email Me New Releases

Don't miss out on the latest and greatest new features in Construct 3

Create an Account

Notes

In the previous release r328 we introduced a major new Custom Actions feature. In this release we're taking it further! Now custom actions created for families appear for object types in that family - in other words family members inherit custom actions from the family. Not only that but object types can override family custom actions by creating a custom action with the same name as an inherited one. That will mean that object type's custom action is run for its instances instead of the family custom action when running a family custom action. In this case the object type's custom action can even call the original family custom action again. This allows the override to either replace or extend the family custom action. This is a concept known as polymorphism in programming, and we've made it easy to use with event sheets.

Other than that there's a new On signal trigger, which fires when the Signal action is run with a matching tag. This can be used as a simple way to handle dynamic functions, such as signalling with a string expression as a tag, or handling the same signal in multiple places. As ever we also have a batch of bug fixes!

Like this Release?

Let us know with a thumbs up!

41
Launch r329

New Additions

20 favourites
Show custom actions inherited from families
21 favourites
Allow custom actions on family members to override family custom action
27 favourites
System: 'On signal' trigger

Changes

12 favourites
Loop all animated effects after 3 hours to prevent degrading quality over time due to floating point precision

Bug Fixes

7 favourites
Layer opacity not always restored when loading savegame
9 favourites
Line-of-sight: 'Has LOS to object' could incorrectly be affected by previous checks
7 favourites
Physics: crash creating joint to object, disabling physics behavior on object, then destroying object
8 favourites
Physics: incorrectly handled non-centered origin with mirror/flip (regression r318)
7 favourites
Call function actions not working correctly with debugger
7 favourites
Event sheet view: could paste incorrect function names after a failed paste attempt
8 favourites
Event sheet view: 'Call function' actions could incorrectly disappear after a failed drag of a function block
8 favourites
Event sheet view: dialog could sometimes jump when adding a condition/action
8 favourites
Containers: persisted instances in containers not recreating siblings (regression r320)

Scripting updates

7 favourites
Fix incorrect handling of destroying instances while ending a layout

Share Construct 3 Release r329 Now

  • 9 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • What a great update, a real game changer.

    [edit]

    When you create a custom action it should suggest the available override action names via autocomplete, that would be a nice QOL improvement.

  • Amazing ! Thanks a lot for integrating the polymorphism (overriding + extanding) suggestion I made.

    Also thanks for the On Signal Triggers, which helps for some of the use cases I explained while requesting for "Custom Triggers".

    There is still something important missing in my opinion. Supporting Extra Trigger Event Blocks for Custom Actions & Functions. Indeed in bigs projects with thousands of events, it's really important to be able to put the logic triggered by Functions with parameters or Custom Actions in different places for multiple reasons. On Signal doesn't allow to pass an instance UID or any parameter for example.

    I think it would be even better implemented the same way you implemented Custom Actions and Family Polymorphism. It could work exactly as Functions/Custom Actions under the hood.

    I wrote a detailed post about this Special Triggers feature construct.net/en/forum/construct-3/general-discussion-7/custom-actionsfunctions-175063

  • Another great update! Now imagine nested families + polymorphism...

  • You fixed the issues i reported so fast!

  • i absolutely love Construct 3

  • Nice, I was hoping for the polymorphism stuff to drop this week. Gonna give it a go asap!

  • Custom action support for families is huge! Thrilled that it came so fast after the object custom actions, too.

  • Thank you for adding my suggestion so fast :)