Fix extra points issue

Get help using Construct 2

Post » Sun Mar 25, 2012 4:30 pm

Some events cause an explosion object to be generated, which will give the player points when it overlaps with a target. Sometimes, there's an issue, and it causes more points than there should be. Is there a way to fix this? This is my Construct code:


Explode: is overlapping target --> Target:destroy. System: Add 10 to score.
arikrak2012-03-25 16:30:58
B
14
S
3
Posts: 16
Reputation: 1,231

Post » Sun Mar 25, 2012 4:34 pm

Is overlapping runs constantly. So either use on collision, which triggers just once, or use the system condition trigger once while true as a sub condition, with the add 10.
Image Image
B
163
S
48
G
100
Posts: 7,461
Reputation: 72,044


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Greaver, Husui, newt and 36 guests