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
4
Posts: 16
Reputation: 1,386

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 ImageImage
B
169
S
50
G
169
Posts: 8,285
Reputation: 108,214


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests