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 got a question:
Object one has 10 instances, and object two has 10 instances(set invisible as default), if I touch object one instance like the fifth instance, I want the fifth instance in object two set visible instead of setting all two's instance visible.
Develop games in your browser. Powerful, performant & highly capable.
System: Pick by comparison...
korbaach thanks, works cool, one more question, when I touch 5th(obeject one), the 5th(object two) shows, then I touch 6th, 6th shows, but 5th(object two) still visible, how to make it invisible like before when I touch the next? thanks
try to add subevent to event1 :
(event 3) System pick Two where Two.IID=one.IID-1: Two set invisible
MadSpy thanks, I can set Two.IID not equal to one.IID-1, the problem solved, thanks
korbaach thanks, your way is great, thank you so much
How to do this with spawner?
I mean this, when touch one of "one" instance
spawner spawn "two" respective instance
https://www.dropbox.com/s/a5w0ocib0tc9n ... .capx?dl=0