Stormworks: Build and Rescue

Stormworks: Build and Rescue

Random Number Generator
Počet komentářů: 6
Goose 7. čvn. 2024 v 10.05 
Using a program for random is not very effective, just take a temp reading, multiply it with time, and add some other chaotic variables.
Tampa Powers 25. čvc. 2019 v 6.09 
If you just use math.random you get a fairly predictable result and it's not completely even either, if you pair with further math to enhance the randomness you get a more even set of values that better reflect true entropy is what I am trying to say.
 [autor] 25. čvc. 2019 v 4.09 
Like u want.
Tampa Powers 25. čvc. 2019 v 3.54 
So it's not in fact random, because that one is not random at all
 [autor] 24. čvc. 2019 v 22.45 
math.random
Tampa Powers 24. čvc. 2019 v 9.39 
How can it be random if there is no rand function in the lua, what function are you using what's the formula?