Destroy TowerA with bulletB should spawn TowerB

Get help using Construct 2

Post » Fri Mar 07, 2014 3:16 pm

When TowerA has zero health and it collide with bulletB. TowerA should be destroyed and spawn TowerB.
I have tried to make it, but my way to do this seems a bit buggy.
The bullets doesn't destroy a tower instantly when it has zero health, this occures several seconds later.
When the tower got destroyed, it seems like multiple towers got spawned.

How can this be solved?

Here is the capx https://dl.dropboxusercontent.com/u/15249798/Test.capx

ikke2902
It's time for me to return the favor :)
B
32
S
9
G
9
Posts: 132
Reputation: 5,370

Post » Fri Mar 07, 2014 3:42 pm

Test.capx
You do not have the required permissions to view the files attached to this post.
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Fri Mar 07, 2014 3:57 pm

I moved all your "system create object" to the bottom instead of having them at the top
B
7
S
2
Posts: 158
Reputation: 1,021

Post » Fri Mar 07, 2014 6:09 pm

Thanks for the reply, but it didn't help =(
It's time for me to return the favor :)
B
32
S
9
G
9
Posts: 132
Reputation: 5,370

Post » Fri Mar 07, 2014 6:43 pm

What do you want to do?It worked for me.
  • No Multiple towers were created
  • Destroyed when health reaches 0.
Any problem?
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Fri Mar 07, 2014 7:20 pm

if you have changed the layout or rotate the towers, could you test it again without changing anything in the lay out for me?
When you test the capx, take a closer look at the tower where the purple arrow is pointing to.
That tower will reach to zero health, but the grey bullets are passing through it instead of destroying it.

Where the cyan arrow is pointing to has some issue too. That tower went to -1 health. The bullets are overlaping the tower instead of destroying it.
Those are the problems =/
It's time for me to return the favor :)
B
32
S
9
G
9
Posts: 132
Reputation: 5,370

Post » Fri Mar 07, 2014 10:18 pm

I got it to work by moving system create objects to the bottom...
you have 2 nuetral4 side by side on the bottom.
The very bottom one will not work but if you point the other one, it will

the cyan one has a 1 for health to start with. Changed that to 10 so at least now the green one can kill it and make it change
That's all the time I have right now
B
7
S
2
Posts: 158
Reputation: 1,021


Return to How do I....?

Who is online

Users browsing this forum: Instrex and 16 guests