How do i make this better?

Get help using Construct 2

Post » Fri Feb 21, 2014 8:09 am

Hello there

I made this
http://www.scirra.com/arcade/example/12 ... nemy-spawn

How can I make it so the bullet hits only one of the stacked zombies, and have the max spawn time go down at preset scores?

Thanks.
:D
B
5
S
2
Posts: 7
Reputation: 987

Post » Fri Feb 21, 2014 12:46 pm

You can add either a pick nearest or pick top/bottom as another condition when checking collision between the bullet and an enemy that should fix it.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Sat Feb 22, 2014 7:42 am

I tried that but i can't find a pair of points to compare that makes it work.

Does it need to be a sub event of the hit test or vice versa?
Thanks for trying, I really appreciate it.
B
5
S
2
Posts: 7
Reputation: 987

Post » Sat Feb 22, 2014 8:01 am

Oh, I also tried the top/bottom Zorder condition but couldn't make that work either.

The .capx is posted on the example is posted on the example page if anyone can take a look at it.
I uploaded it using the new upload .cppx feature for the arcade.

Thanks Scirra :D
B
5
S
2
Posts: 7
Reputation: 987

Post » Sun Feb 23, 2014 1:36 am

Figured it out.


Changed collision test to overlap test.
B
5
S
2
Posts: 7
Reputation: 987


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 16 guests