Setting many sprites of two kinds to same position

Get help using Construct 2

Post » Wed Jun 12, 2013 3:16 am

So I have two different sprites: colorball and gravball. I have many instances of each. I would like each colorball to have the same position as each gravball.



You can see what is disabled actually works, but seems inefficient. I had the gravball's private variable each to the colorball's private variable and that didn't work. I don't understand why. I'm sure someone here can explain what's happening. Thanks!
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Wed Jun 12, 2013 2:24 pm

Add For each GravBall at the top of event 64. The problem is every GravBall is picked at event 64, so it's moving every one. You need the extra step of picking one at a time.
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Thu Jun 13, 2013 2:09 am

Thanks!
B
10
S
4
G
3
Posts: 103
Reputation: 2,984


Return to How do I....?

Who is online

Users browsing this forum: AllanR, BackendFreak, brunopalermo, farsen, ST314 and 28 guests