Scoreboard Calculation

specialist_3specialist_3 Member Posts: 121
edited November -1 in Working with GS (Mac)
Hi,

Decided to redo my entire game after recent problems with the GS Viewer.

Anyways, I want some advise on calculating "Accuracy" of hitting a target. Suppose I hit targets by merely touching them. If they are correct targets, I score a point. If they are wrong targets, I lose a point. I also have a counter which records the number of misses - not hitting right targets.
My game works such that suppose I spawn 100 creeps, maybe only 30 - 40% are correct targets which I have to hit. These come mixed with the remaining 60 - 70% incorrect targets which I should not hit.

Now if I want to calculate the accuracy of the player, (accuracy here is a %), should I do the following:

Number of Correct Targets Hit / Total Number of Correct Spawns * 100%
which would mean suppose I had spawn 100 creeps of which 40 are spawns meant to be hit, I hit 10 correctly, so my accuracy is 25%.

OR

Number of Correct Targets Hit / Total Number of Correct Spawns * 100%
which would mean suppose I had spawn 100 creeps of which 40 are spawns meant to be hit, I hit 10 correctly, so my accuracy is 25%.

OR

Number of Correct Targets / Total Number of Screen Touches * 100*
which would mean suppose I had touched the screen 100 times, I hit 10 creeps, so my accuracy is 10%

Can the number of misses be taken into consideration when I calculate accuracy? Or can anyone suggest a better method of calculating accuracy?

Thanx!

Comments

  • specialist_3specialist_3 Member Posts: 121
    Sorry - I repeated the first method of calculation twice...Pitfalls of cut-paste :-D
  • specialist_3specialist_3 Member Posts: 121
    Can someone help me with this pls?
  • peachpellenpeachpellen Member Posts: 977
    Bump. I'd like to know this too - casually working on a shooter :P
Sign In or Register to comment.