Les versions Beta ne sont pas autant testées que les versions Stables

Les versions Beta ne sont pas autant testées que les versions Stables

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

07 February, 2023 ()

Envoyez-moi un courriel lors de nouvelles parutions

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

Créer un compte

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!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

41
Exécuter r329

Nouveaux ajouts

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

Changements

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

Corrections de bug

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

Scripting updates

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

Partager Construct 3 la parution r329 maintenant

  • 9 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • 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!

  • 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.

  • 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 :)