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
164
S
49
G
138
Posts: 7,953
Reputation: 91,872


Return to How do I....?

Who is online

Users browsing this forum: jobel, omnipaws, tarek2 and 6 guests