damage taken from overlaping enemy

Get help using Construct 2

Post » Sun Sep 29, 2013 12:31 pm

I was wondering how to resolve this issue the best way - on collision with enemy it substract 1 health from hero but when i overlap him {following him and overlaping}, he's not doing any harm. If i set the collision to overlap, it destroys him instantly cause it substracts 1 health everytick propably which is logical. I tried to set up a timer here but i cant have 2 conditions: on collision take 1 health and also on overlap take 1 health because when i first touch the enemy he takes 2 health from my hero because of these 2 events.
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Sun Sep 29, 2013 12:34 pm

Switch a variable on/off every X seconds to damage the player.
B
47
S
18
G
84
Posts: 2,273
Reputation: 49,800


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 31 guests