How to use same events to multiple objects

Get help using Construct 2

Post » Mon Feb 10, 2014 10:12 pm

Hello guys, somebody can explain how to use same events to multiple objects?

For example, I have enemy 1 and enemy 2. I want to make the same things,like walk until he gets close to the player, attack when close to the player, and die when his HP comes to 0.

I've tried using families but it doesn't worked.
B
12
S
3
G
1
Posts: 80
Reputation: 2,109

Post » Mon Feb 10, 2014 11:03 pm

You could also use one sprite object and just have each of the "enemies" be different animations on that sprite. Other than that, Families are really the way to go.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Tue Feb 11, 2014 3:41 am

Yep, BluePhaze took exactly what I was going to say.

Have you taken a look at one of the Ghostshooter tutorials that C2 offers in the start dialog? It shows a full example of what you somewhat described you are looking for.
B
20
S
4
G
1
Posts: 185
Reputation: 2,563


Return to How do I....?

Who is online

Users browsing this forum: Lordshiva1948 and 49 guests