Issue with multiple objects

Get help using Construct 2

Post » Thu Jul 18, 2013 12:03 pm



I can't make sense of this, I'm alright with C2 eventing, but I do belong more on the art side of things.

Even with shoottimer set to instance variables, only 3 of them rotate towards player during their sequence.
Secondly All the laserbeams spawn on the one ship and not all of them individually.

Anyone have a way to solve this,


Cheers :)

B
21
S
6
G
2
Posts: 188
Reputation: 3,450

Post » Thu Jul 18, 2013 1:20 pm

You have to use the "foreach" with your purpleship to make the events run for each of your ships.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Thu Jul 18, 2013 4:28 pm

That appeared to work in directing the ships in the right direction towards the player.

But

When the beam is spawned, it is only spawning at one ship
B
21
S
6
G
2
Posts: 188
Reputation: 3,450

Post » Fri Jul 19, 2013 11:20 am

Bump ^^
B
21
S
6
G
2
Posts: 188
Reputation: 3,450

Post » Sat Jul 20, 2013 11:42 am

Bump again, sorry folks. :)
B
21
S
6
G
2
Posts: 188
Reputation: 3,450

Post » Tue Jul 23, 2013 11:34 pm

you also have to use the foreach when you spawn the beams. Have you tried that? could you make a screenshot of how the code looks now.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451


Return to How do I....?

Who is online

Users browsing this forum: nahima and 11 guests