Hmmm, I need to look at this again...
I am getting really odd results with my implementation...I think its down to my RND() functions...
They work well based on the LIMITFPS 60 but when I run with -1 the RND() values obviously loop much more (due to PC speed) and have far higher chances of occurance...
So my RND() functions need to be limited too but not sure how...?!?! Cant really apply speed to interactive actions like RND()s within loops until I only run the loop when FPS = 60??! Which may cause unexpected results
So in psuedo logic
DO Random actions // limited loops
DO Random actions much more freq... //+++ Loops more and condition is met more
I feel like that's ... not a good idea. Just my observation. I don't use any weird timing routines, but what I'd do is use loops to determine how many times something happens per frame. I'd handle it like this.
for l = 0 to 10
//do lots of random stuff
for l = 0 to 2
//do less random stuff