Creating a repeating timer

i need help creating a animation that plays on a image sprite on a canvas every 0.2 seconds i think i know how to do it just i dont have a device to test on so if "TimerAlwaysFires" is enabled does that mean when it reaches the "TimerInterval" it will repeat until reaching the "TimerInterval" again?

FAQ Section: Books, Tips, Tutorials for AI2

Also see

for how to install an emulator on your PC so you can run apps there.

1 Like

Hello Hudson

No, it means the Timer will continue to fire even when your App is not displayed on the screen, so 99 times out of 100 this option should be set to false.

The Clock Timer, when enabled by your code, will repeat at an interval of milliseconds set by you, until your code disables it.

TimeAnimation.aia (9.8 KB)

1 Like