An experiment with random generation. Z plays the bird's call, and X generates a new one.
I noticed that the seed printed in decimal, if then hard-coded in as the seed, will not always result in the same bird. Rounding error?
I modified it locally to print the seed like this:
print(tostr(seed,true)) |
I've found setting the seed in hex representation appears to guarantee the same results with randomly generated content (in both this cart and my own cart).
I noticed regardless of the seed, the bird song sometimes turns out slightly differently...wonder why this is?
@GooGroker if you are still around, you might have the arrow keys move the head that's attached to the neck and body. And move its bird bill accordingly.
Very impressive @GooGroker ! The birds all look so different and have different sounds. So cool!
Im press a Z to Play sound is werid Changes sounds on different birds
[Please log in to post a comment]