Say I have the following:
20 (speed) = 10 (spawn time in seconds)
100 = 3
200 = 2,25
How do I programme a formula for the seconds so that the values of seconds get automatically calculated based on the user's speed input according to the pattern above?
Say the user wants now a speed of 250. How do I programme the formula calculation for the seconds based on the above pattern? Of course the calculation should work for any given input of speed, like 10 for instance. I am really lost here.