Re: Something Odd and Interesting (Solved)

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu