Problem with coin box

Get help using Construct 2

Post » Sun Aug 09, 2015 10:35 pm

The coin box works like super mario brothers; when you hit the bottom,it gives you coins. i tried to make a box that gives you more than one, but when i hit the box once, sometimes it counts as 2 or 3 coins and i just want one coin per hit.

Help?
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Mon Aug 10, 2015 12:15 am

a capx would help to solve your problem, a fast guess is to check if you have set it on overlapping and not on collision
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299

Post » Mon Aug 10, 2015 1:40 am

Its on overlapping at offset. I read to use that on the forums somewhere. How would the collision part work?
B
10
S
4
G
1
Posts: 159
Reputation: 1,933

Post » Mon Aug 10, 2015 11:35 am

overlapping means it triggers many times that's why it creates more coins. you can read the manual https://www.scirra.com/manual/1/construct-2
a collision triggers only once the first time 2 objects intersect
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299


Return to How do I....?

Who is online

Users browsing this forum: David181, evillair and 58 guests