[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
50
S
14
G
12
Posts: 813
Reputation: 16,764

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
8
G
7
Posts: 756
Reputation: 7,192

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
11
G
10
Posts: 1,833
Reputation: 14,413

Post » Fri Mar 22, 2013 9:55 am

OMG Brilliant! Families are awesome. Thanks both of you.
B
50
S
14
G
12
Posts: 813
Reputation: 16,764


Return to How do I....?

Who is online

Users browsing this forum: badmoodtaylor and 12 guests