-
Hi, I am having trouble with generating "real" pseudo numbers. My seed value is constant right now, which result the same layout on every restart (which is understandable). People usually use time as the random number generator seed, but time is not available in wasm if I understand it correctly. My best idea so far is having a startup screen which counts ticks before starting the game, so I can use that sort of random number as seed. Is there a best practice for this? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
JerwuQu
Apr 5, 2022
Replies: 1 comment
-
See #401 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
voroskoi
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
See #401