So i made a quick application to test mmf's random generator. Events of the app are following:
On loop-->Set "red dot" x position to: 320+Random(321)-Random(321) + paste into background (allso y pos is randomly generated)
So basicly it should paste the red dots randomly on the screen (excluding the fact that it pastes(or should paste) more on the center of the screen).
Originally Posted by lembi2001 Is the issue here not the formula you are using to position the dots? Try just using random(screen width) instead.
I really dont understand a word you are saying. Anyways, i dont have any issue with the MMF random(x) function. I'm just curious how it calculates the randomness. Clearly there is a pattern as seen in the dots. Btw it does the same pattern every time. Intresting..
Originally Posted by jamesh A very clever experiment!
When you build an application with a klik software, there is very much expiriments in coding(have to do it constantly).. This example is just one of a billionth that were published. Klik softwares have a large scale of usefull(or harmfull) features unknown to the most of the klikkers. I wish people would share the grievances to the klik community the way i did (once>P).
I asked about this exact same thing back in 2007 on Clickteam's forums. This is just the way their random function works. It generates a bank and runs through the numbers, once reaching the end it'll loop the same thing again.
One method to avoid this without using an extension;
Originally Posted by DavidN on Clickteam's Old Forums
To get a more 'random' pattern, you need something to generate random numbers from - for example, use a Date and Time object in the frame, and Randomize (under "Special") with the value of its seconds every time a second passes.
Nice example, the pic of the starting post certainly looks like some kind of wave.
My first random functions were also just lists of numbers to go through, not exactly random and every time the same row of numbers. But that was a good thing for debugging my other code.
Nice way to overcome this limitation, you might added pressed keystrokes since application start and mouse movements along with that for more 'randomness'.