How can I remove "minus points" from my game?

Hello,

I downloaded a Quiz game from this person

and I can set up how many points I can get if my answer is correct. If I choose wrong answer I got minus points (for example -10 because I set 10 points is for correct answer).

How can I leave +points but remove -points?

You can check this game on github GitHub - WatchFindDo/QuizGameProject: Quiz Game Project from the tutorial series on YouTube.

I am not that good at Unity (first time here) so every answer is really helpful!

Steps to success:

  • find the code that adjusts the score by points

  • insert a check to ensure that the points value is non-negative

1 Like

I did find this, you might want to start here: https://github.com/WatchFindDo/QuizGameProject/blob/master/QuizGameProject/Assets/Scripts/Mono/GameManager.cs This assumes you have some knowledge of C#, so you may need some C# tutorials first. I’ve heard good things about this one https://www.learncs.org/