Copy Sprite Property to another sprite

Get help using Construct 2

Post » Tue Feb 21, 2012 5:37 pm

I am beginner and trying to develop a simple game.

I have a sprite (sprite1) on level 1 with a graphic and events. All coming levels, new sprites graphic is changing and this will be another sprite (sprite1).

What I need is to write an action that effects all those sprites.

I do not like like this:

on action .. destroy sprite1
on action .. destroy sprite2

I need this:

on action ... destroy sprites

and apply this to sprite1, sprite to in one function.

Is this possible?
B
8
S
2
G
3
Posts: 18
Reputation: 2,271

Post » Tue Feb 21, 2012 8:53 pm

You could put them in a family. If you are unfamiliar with families, look them up in the manual.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,390

Post » Wed Feb 22, 2012 8:44 am

Thanks sqiddster, this reply solved my problem :)
B
8
S
2
G
3
Posts: 18
Reputation: 2,271


Return to How do I....?

Who is online

Users browsing this forum: Draconinho, LeFuji, plinkie, totoe and 19 guests