![]() |
Non-Random Random()?
1 Attachment(s)
If I call random() lots of times within a single frame then all the numbers seem completely random, which is what we'd expect. But if it is called once per timeout then a pattern starts to emerge. The attached level shows the phenomenon.
|
Yes, i've noticed that too.
When I was making my fireworks script everything was based on random. And sometimes they'd go in the same direction every single time. same color same spread pattern. Well actually I think that was in a for loop, but aw well. Im not really noticing the pattern in your example. |
Yes, it is a pain when you try to make something RANDOM, it happens ALOT even if the random is up in hundreds :grrr:
|
1 Attachment(s)
Quote:
|
1 Attachment(s)
I found the pattern!
resize screen to graph to your liking say redo [size] to redo the pattern finder from a different size sample. ;) It's strange. The pattern does repeat the same everytime. |
Quote:
|
1 Attachment(s)
Quote:
Would have to expand on the script there to see that part.... Im not seeing it ever start being random... except the first little bit.... Oh, nevermind, I know what he was saying to you. Well anyhow here's a script that doesn't stop with the randoms it just keeps going. yes kia's does stop. |
This should really be fixed sooner rather than later, it could totally ruin anything that uses random().
Like being hit on 2k2. surely most o fyou have noticed when they hit or when they miss . they do it a lot. they hit every time or this miss every time... |
It's not likely to be a problem in most scripts. I doubt that it has any adverse effect on G2K2's systems (especially since they use a serverside random function, which works better).
|
Yes, well the way I believe random works, is it gets some number built into the system, which actually is entirely systematic (as opposed to random), but changes so fast the normal user does not notice.
I read that somewhere in my readings of programming. |
Quote:
|
Quote:
|
Quote:
Yeah, there's no such thing as true random, only a complex algorythm based off the timer. |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.