Question by
CalllmeJulia · Jun 23, 2020 at 01:08 PM ·
c#2d gamecharactercontroller2d-platformerscore system
Help with 2D platformer (score),For my 2D game sometimes coins get added twice to the score?!
Hi, I'm very new to coding and making a 2D platformer for school. I have made a feature where you collect coins and they get added to the score. It works but the only problem is that sometimes (only for certain coins such as the first one) adds two to the score instead of one. I think this may be because I used two colliders (box and circle) on my player but I'm not sure how I would go about fixing that. Thank you so much for helping guys!!!
Comment