LOL, I was working on a particle system when I noticed that when the particles were created in groups, they moved on top of each other. After much investigation, I arrived at this peculier code:
run it with and without "SeedRnd MilliSecs()"
I'm not sure if this is kindof how Blitz generates SeedRnd internally or if it is a bug, but removing the "seed randomizing" code stopped the overlapp and solved my problem. I've run it multiple times and each time it generates no more than two different numbers perfectly sorted, while removing SeedRnd generates a random set of numbers. Now that's an irony!
Inspiron 1100 laptop
Pentium 4 processor 2.4 Ghz
512 Mb Ram
40 Gb hard drive
Windows Xp home
59 Mb graphics memory
run it with and without "SeedRnd MilliSecs()"
For a=1 to 10 SeedRnd MilliSecs() b=Rnd(-10,10) print b Next
I'm not sure if this is kindof how Blitz generates SeedRnd internally or if it is a bug, but removing the "seed randomizing" code stopped the overlapp and solved my problem. I've run it multiple times and each time it generates no more than two different numbers perfectly sorted, while removing SeedRnd generates a random set of numbers. Now that's an irony!
Inspiron 1100 laptop
Pentium 4 processor 2.4 Ghz
512 Mb Ram
40 Gb hard drive
Windows Xp home
59 Mb graphics memory