I'm going through the example games for Construct 3, and have been "studying" the platformer Kiwi Story.
I'm wondering if anybody could explain what's going on in this specific piece of code below. The main thing I'm looking at is the first line in the function "Transition" (for those who haven't gone through the game, this function is a fade in/fade out effect between layouts). Why is the Transition object being destroyed right away?
As a test, I deleted that line and ran the game. Nothing seemed to change, but I suspect something is happening in the background that I can't seem to put my finger on. Any insight would be appreciated!