Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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 have 1 sprite and copied it 10 times in the layout. for example imagine 10 copied squares. now i touch 3 squares and these 3 squares change animation to a smaller square. everything is okay here. the animation affects only the squares i touched but later when an fuction is enabled. i want these 3 squares i touched to change animation. here is the problem. all other copied dots gets the animation after function. any solution ?
Develop games in your browser. Powerful, performant & highly capable.
Maybe this would work:
On function "changedTouched"
Square is playing animation "small": Action: Square play animation "newanimation"
Do you have a capx you can share?
Create Square instance variable: IS_TOUCHED = 0
On Square is Touched | set Square.IS_TOUCHED = 1
Square.IS_TOUCHED = 1 | [Your action]
Thank you so much. both of you