[SOLVED]Grouping Sprites

Get help using Construct 2

Post » Fri Mar 22, 2013 8:52 am

Hey everyone!

Is there a way to group multiple sprites so that I can control them with one event?

Thanks for your time.Tekniko2013-03-22 09:56:08
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Fri Mar 22, 2013 9:34 am

Give them variable group.

Now you can do stuff like:

on left click
sprite.group = reds
.. Move sprite to mouse x,y
B
24
S
9
G
7
Posts: 756
Reputation: 7,302

Post » Fri Mar 22, 2013 9:45 am

You may also want to try families and containers in case they may help as well.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Fri Mar 22, 2013 9:55 am

OMG Brilliant! Families are awesome. Thanks both of you.
B
56
S
15
G
13
Posts: 826
Reputation: 17,645


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 45 guests