Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
Its not destroyed until the end of the event.
Develop games in your browser. Powerful, performant & highly capable.
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