How can I have each individual object shoot?

Get help using Construct 2

Post » Thu Oct 18, 2012 2:22 am

Right now, I am making a Space Invaders clone. All the enemy ships are one sprite copied over and over. Any method in which I am trying to let them shoot will have them all shoot at the same time. I want them to shoot randomly at different times.

Thanks for any help!
B
2
Posts: 5
Reputation: 310

Post » Thu Oct 18, 2012 3:15 am

Here, only one line of event

Random_shootfarsmile902012-10-18 03:16:31
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Sat Oct 20, 2012 10:28 pm

Thanks
B
2
Posts: 5
Reputation: 310

Post » Sat Oct 20, 2012 10:56 pm

If you know, is there a way for each instance to fire every few seconds.

Your method fires every few seconds, only one instance fires. I really want a way for each instance independently to fire randomly every few seconds.
B
2
Posts: 5
Reputation: 310

Post » Sun Oct 21, 2012 1:16 am

reverse contitions in event 1 from farsmile90 exaple and you will get what you need:

instead: for each nemeyship
        every random(2,3)seconds

just reverse: every random(2,3)seconds
              for each nemeyship
              

just reverse conditions in event one

edit: or even without for each



                                           podpathos2012-10-21 01:33:22
B
12
S
2
G
2
Posts: 96
Reputation: 1,583


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests