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
How do I change color or images of different instance variables with different values?
The red bars to be picked up having different color or images.
thanks in advance
If you want the 3 red instances to be different images altogether, maybe you need to make 3 separate sprites, and add them to a family to manage their behavior on the eventsheet. https://www.scirra.com/manual/142/families
if you're set on just using the same object with different images depending on a variable, take a look at this: https://www.scirra.com/manual/75/how-events-work
there you'll learn how instances are picked.
I already thought of it that it would be impossible to have different images with one sprite even with different variable values. I just tried if somebody have done it. Anyway I'll read your two advised tutorials, Thanks Sargas,
Develop games in your browser. Powerful, performant & highly capable.
If you really needed to, you could set frames or animations to values in an instance. seems impractical though.