Could you help me to understand how Construct2 manage the sequence of operations. I don't understand why after I destroyed the sprite, the count is still 1 during the Start of Layout sequence and is 0 after I refreshed it Every Tick.
Develop games in your browser. Powerful, performant & highly capable.
Its not destroyed until the end of the event.
Creation and destruction of instance happens effectively the next tick after the action to create/destroy it was encountered.
This topic may give further informations.
Thanks, it works:
Sequencing was a big pain in the ass to figure out for me. But in the end, I settled on running steps of sequence from bottom up, and every time step ends I change value of the variable.
Example:
Var =4
only set var to 1
Var =3
Var=2
Var=1