How do I Spawn multiple same sprite with animations

Get help using Construct 2

Post » Fri Mar 21, 2014 2:33 pm

Hi,

How do i spawn multiple same sprite with animations separely ?

In french :

Comment fait on pour spawner plusieurs fois le même sprite avec son animation et que celui ci soit indépendant des autres ?
actuellement je fais spawner un monstre plusieurs fois mais ceux-ci réagissent en même temps une fois créés.
B
2
Posts: 3
Reputation: 156

Post » Fri Mar 21, 2014 5:31 pm

You can spawn sprites using the "System" - "Create Object" action. You can do the creation in a loop if you need multiple instances of the same sprite.
B
5
Posts: 11
Reputation: 272

Post » Fri Mar 21, 2014 9:06 pm

Ty for this reply but i known how to spawn a sprite.
I want to know how can i spawn the same sprite with the same animations. So actually all instances move at same time.
if the first instance of the sprite move to left all instances move to left.

Sorry for my bad english.
B
2
Posts: 3
Reputation: 156

Post » Fri Mar 21, 2014 9:21 pm

when you spawn the object
add new action to the bullet set animation frame to random (yourobject.AnimationFrameCount)
B
5
S
1
Posts: 47
Reputation: 525

Post » Fri Mar 21, 2014 9:53 pm

I use "Platform" behavior not "bullet"
B
2
Posts: 3
Reputation: 156


Return to How do I....?

Who is online

Users browsing this forum: lukewasthefish, marc254, Mayfly, Yahoo [Bot] and 14 guests