Re: Something Odd and Interesting (Solved)
- Posted by irv Aug 13, 2018
- 1044 views
I was resetting the timer each time a cow was added. There is apparently a limit in GTK as to how many timers you can have in one program. Removing the reset lines:
timer = 0 cowspeed -= 1 -- adjust timer to trigger faster the more cows;
solved the problem. Now I can get more than 850 without a problem (except for a tired finger from clicking the mouse). And the CPU's continue to share the load.