Greetings,
http://jouni.miettunen.googlepages.com/timersample
Version History
Version 1.0, release date 2008-06-12.
Tested with N82 (pyS60 1.4.3).
Code Samples
* How to use Timer without callback
* How to use Timer with callback without parameters
* How to use Timer with callback with parameters
* Seven (7) different ways to crash with Timer
Timer Sample
I've tried to use timers for animation with limited, but not complete, success. Small sample code was easy, but 16 Puzzle v3.0 is now 800+ lines of code. Somehow moving from simple Timer cases to more complex ones wasn't easy at all, something went wrong all the time.
Here I have documented seven (7) different errors you can make with Timer, how to identify each and fix it. There's a few correct ways, too, I hope.
My experiments continue, but it's beginning to look better.
Cheers,
--jouni

Reply With Quote

Fixed now, thanx!
]
) and most likely continue with another game I haven't released at all. Then I'll come back to 16 Puzzle, have a few features planned.

