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
As the topic says. I am trying to set each flag a different animation based on if the level has been completed or not. How do I control each instance of the flag? Please don't tell me I need to make 6 different flag sprites :/
Develop games in your browser. Powerful, performant & highly capable.
something like (not the best animation)
edit updated with better flags
edit 2 File size reduce a bit
Thank for the huge download, lol.
Unfortunately, with mouse clicks you can control which instance simply by which one was clicked. I need some other way to reference each individual one on its own. Like some sort of UID? I don't know.
You can add a dedicated instance var for it.
Give each flag a unique number in their var.
Pick by evaluate famflag : famflag.flagnumber = 1
do something to famflag which has flagnumber 1