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
I want to select a sprite animation out of 4 different ones by clicking on 4 different icons. the selection will be passed to a next layout. I can't use a global variable because there's also a reset global variables action before going to the next layout. So I tried with an income variable but it doesn't work.
Develop games in your browser. Powerful, performant & highly capable.
You can set the animation before resetting global variables.
Or use a static local variable in a group, they are not reset.
Or an instance variable on a global object, for example an array.
Or store it in a dictionary or array.