I’m trying to implement scoring for picking up certain treasures in my game. I’ve started off my source code with:
Maximum score is 4.
However, in the status bar at the top it appears as 0/1 when play begins and 4/2 when all four treasures are collected. How do I make it so it’s showing 0/4 at the start and then 1/4, etc, all the way up to 4/4?