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 :/
something like (not the best animation)
edit updated with better flags
edit 2 File size reduce a bit
Develop games in your browser. Powerful, performant & highly capable.
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