wastedgames/wasted-code
No results
5
Score System
franzbonanza edited this page 2024年04月16日 09:30:35 +00:00
The score of a player is calculated by the following rules:
damage = speed m/s * mass * damping
We are Calculating the damage to give to the hitter and the target player. We are going to check first the car mass. The damping value is used because we need to fit the amount in 100HP.
We deal damage to the kart that is being hit but we also receive some damage back from the kart that is being hit based on speed and mass.
Ratio is 1/3 (received damage with 2 cars with same mass, is 3 times lower than the damage dealt).
early development stages