- Home /
How to design an Archer Board Scoring System
Hi Fellows. I want to design a scoring system for a dart game. My question is how can I make decision of scores when a dart hits on a circular dart. Your help would be appreciated Thanks in anticipation
Comment
Answer by CalxDesign · Sep 23, 2014 at 09:25 AM
I assume you mean circular 'dart board' - You'll probably want to measure the distance between the centre of the board, and where the the dart hit the board, this will tell you if its, single, double or treble score, then use the angle between 0 degrees and dart position to determine which bed you're in...
i.e an angle of 90 degrees and a distance of: "dartboard radius / 2" would be a "Treble 20".
Unity's Vector3 functions should get you the information you need.