Simple defence game

Get help using Construct 2

Post » Wed Feb 08, 2012 3:33 pm

Hi, I want to create a defence game. I have problems. When I create a defence and enemy objects, problem starts. When a defence object collision a enemy object they stop, defence object attack the enemy. Enemy's life decrease. It's ok. but if there is another enemy's life, on the screen but not near the defence, decrease too.

Sorry my english if you look at the example you can see very well.

http://dl.dropbox.com/u/61236782/defence.capx
B
4
Posts: 3
Reputation: 456

Post » Wed Feb 08, 2012 4:06 pm

Sorry Pal....even with you CAPX I seem to be unable to understand your problem...
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Wed Feb 08, 2012 4:32 pm

Fixed capx

The problem was that system conditions don't affect the picking list.
So anytime you would add a damage, it would be added to any instance of dusman1.

The non english in the capx make it harder to debug indeed.Kyatric2012-02-08 16:34:38
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Wed Feb 08, 2012 8:39 pm

@Kyatric thanks for the correction.

Any answer for this problem?
B
4
Posts: 3
Reputation: 456

Post » Wed Feb 08, 2012 9:05 pm

The answer is the fixed capx
Or is there something else causing issue ?
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Wed Feb 08, 2012 10:11 pm

Ohh my bad. Yes you are right problem solved. But there is another problem. When the new enemy come, defence unit walk again. And one more thing when I send more defence unit enemy isn't dead so fast. and when defence unit face more than one enemy unit how can it damage all of them?

I hope you understand the problem again :). Sorry my english again :(.
B
4
Posts: 3
Reputation: 456


Return to How do I....?

Who is online

Users browsing this forum: MarkThomas, signupdemo and 0 guests