Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Dynamic Timers

Credits go to Trent Gamblin for helping out!
This thread is locked; no one can reply to it. rss feed Print
Dynamic Timers
lazyCrab
Member #14,692
November 2012

How can I dynamically change a timer's delay while it's on, do I have to stop it first or is there another way?

I'm trying to make a Cellular Automaton and I want to be able to change the rate at which "time" passes.

Trent Gamblin
Member #261
April 2000
avatar

lazyCrab
Member #14,692
November 2012

That simple huh?

Trent Gamblin
Member #261
April 2000
avatar

Yes. There's a way of doing it with A4 too I believe. I've done it before for a fast forward key. Might not be as simple, I don't remember.

lazyCrab
Member #14,692
November 2012

Don't worry, fortunately I'm using A5.

Sirocco
Member #88
April 2000
avatar

For anyone using A4, you can use install_int_ex()

-->
Graphic file formats used to fascinate me, but now I find them rather satanic.

Go to: