A simple draw and move simulation uses the following:
A clock timer. Interval: 200ms.
A movement timer. Interval: 1ms.
Movement Constant. Value: 2.
Every time the movement timer ticks, a picture moves by addition by the movement constant. (i.e. picture.X = picture.X + movement constant)
The problem is fast forwarding. The user CAN fast-forward the simulation at any time.
How do I change theses three values (clock timer, movement timer, movement constant) to make the simulation speed faster without sacrificing integrity during a fast-forwarded run?
If integer multiples (1x, 2x, 3x, …) for fast forwarding is enough, you could just run the simulation function several times during the timer handler function.
I’m not sure what you’re doing with the clock timer though, but the same principle would apply to whatever it’s doing.