I generate a random number between min and max with this code:
return min + (max - min) * Math.random();
And it works. However, random numbers are very small usually between "1 or 3", even if the maximum value is 80.
What is the best way to distribute random numbers over the entire range?
thanks
math random actionscript-3
aneuryzm
source share