Couple fixes and a framework addition for the post-weekend patch :)
Statistics
The internal structure for a comprehensive 'statistics' system has been put in place to record things like best wave, enemies killed, arrows fired, longest shot, accuracy at different ranges, etc.
Previously a rudamentary system existed for this function, but it was inconsistent, and most players had 0 arrows fired and a best wave of 0... Over the next week I'll be monitoring the statistics to make sure they are being updated consistently and accurately, at which point I'll begin designing the UI to make them visible to players.
There are lots of cool things that can be recorded and my view is more stats the better in games. Even if I don't look at it, it's nice to know I can see my progress at any time.
Things like accuracy are being carefully curated so that there is no penalty for playing around with the bow and arrow currently accuracy will only go down if you miss a shot within a few meters of an enemy (when it is apparent you were obviously targeting one). I want the game to remain fun and light-hearted, and maximizing stats at the cost of fun is not acceptable for the game design.
Other Fixes
- Scores should no longer reset when other players leave a multiplayer game in progress
- Armor now invisible on self (though still casts a shadow)
Let me know if scores are still resetting, but should be all fixed :)
