Let's assume I have set an effect - BlurHorizontal in this case - for an object. It's set at 100 percent for this object via settings.
I want to decrease the effect over time, right after (or at) the start of the current layout.. so something
like a "fade in" effect (yes I know there's a behaviour which is already very similar.. but let's ignore this for the sake of the question here).
I tried several methods.. using the "On start of layout" event, the "On Loader Layout Complete" event... in combination with
"for" and "repeat" loops and "wait" commands and decreasing the value of BlurHorizontal within this loop .. and yes, already having the "wait issue in loops" in mind ..
https://www.scirra.com/tutorials/723/us ... t-in-loops
.. but.. to no avail.
The loop is finished instantly as it seems, but I DID use "wait * loopindex" method which is mentioned
in the link above.
The only way I can implement the feature is via "System->on every tick" in combination with a simple "wait x seconds" action and some other simple conditions (in order to avoid the effect to be continued
indefinitely). This works like a charm. ("every X seconds" works too)
But I don't think it's very effective.. I don't like the "on every tick" approach.. and I don't get why it's not working with the loop in the "On start of layout" event in the first place.
It doesn't help finding the root cause that I can't set a breakpoint because this is a triggered event... (speaking of breakpoints, they seem of very limited use in Construct anyway because of the limitations.. how are YOU guys
using the debugger in practice?).