Sub-Events (also known as Child Events) is an eagerly awaited feature addition to the Fusion product range. Sub-Events not only speed up development time by tenfold; Sub-Events enable you to structure your eventing even better (and faster).

Clickteam were the original pioneers when it comes to eventing, stemming way back to 1994 with the published arrival of Klik n Play. Clickteam figured that event-driven games were to be the future and set about with the development of the engine.

Still prominent in 2019, Clickteam Fusion 2.5 still relies on eventing and will continue to. However, standard events would typically look like this:

So here, we compare 3 different events. The player collides with the “enemy” in all 3 events, and in the second condition we compare the player health to the enemy health and decide actions to perform based on the conditions met. This works. However, for the sake of development-flow, it can result in numerous and unpleasant views of structuring your events.

This is what the above events look like in list format:

This doesn’t look bad at all. It’s readable, it’s easy to grasp and easy to follow along with. However, this is just 3 events. Some game developments can easily top 2000+ events in just one frame. So keeping a nicely structured (nicely commented and grouped) event sheet is important to keep a nice development flow.

Now, let’s rewrite those above 3 events using Fusion 2.5+ Sub-Events, first the Event Editor and second in Event List mode:

As you can see, these events not only look much better and present easier to read code, they also allow you to develop your own custom functions a lot faster in Fusion 2.5+

This is not all however; this feature contains a lot more juice than just looking pretty-: It works with any type of event in Fusion. It even works with Fastloops (and ForEach Loops) so instead of:

Fusion 2.5+ Sub Events mean that now you can massively reduce the number of On Loop conditions which must be tested, which in turn reduces the number of event lines Fusion has to process:

Not only will they work with Fastloops but any event in Fusion, whether it’s an immediate or non-immediate event. They will also save a whole heap of time when working with ForEach Loops (which are amazing for scoping) meaning your development time will now be slashed dramatically, which in turn, is what Clickteam Fusion 2.5+ is all about!

Also to clarify, sub-events are not iterated in the loop unless the first condition is rendered true (saving you on performance) and just to make it an extra juicy feature, you can nest sub-events within sub-events!

Looking forward to Clickteam Fusion 2.5+? You will be able to get your hands on it by the 31st March 2019.

Don’t forget to like our Facebook page (https://facebook.com/Clickteam/) and follow our Twitter page (https://twitter.com/clickteam/) to be notified as soon as it is available.

Site: https://www.Clickteam.com

Community: https://community.clickteam.com