Stormworks: Build and Rescue

Stormworks: Build and Rescue

Random Number Generator
6 条留言
Goose 2024 年 6 月 7 日 上午 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 2019 年 7 月 25 日 上午 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.
 [作者] 2019 年 7 月 25 日 上午 4:09 
Like u want.
Tampa Powers 2019 年 7 月 25 日 上午 3:54 
So it's not in fact random, because that one is not random at all
 [作者] 2019 年 7 月 24 日 下午 10:45 
math.random
Tampa Powers 2019 年 7 月 24 日 上午 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?