I'm wondering as to what the best way to synchronize animation/movement on PocketPC devices is.
On the PC, I usually determine the delta time between frames and then do something like:
pos += velocity * delta_time
Which works quite well but on PocketPC's floating point isn't always such a good idea although I've used the same technique there with good results and no slow downs. I tried doing the same thing with fixed point but it doesn't work well at all but that could have been a crappy implementation of it.
Another method I had seen is people limiting the frame rate to always get 30 fps but, I'm wondering how fool proof that is.
How did you guys out there implement this?
On the PC, I usually determine the delta time between frames and then do something like:
pos += velocity * delta_time
Which works quite well but on PocketPC's floating point isn't always such a good idea although I've used the same technique there with good results and no slow downs. I tried doing the same thing with fixed point but it doesn't work well at all but that could have been a crappy implementation of it.
Another method I had seen is people limiting the frame rate to always get 30 fps but, I'm wondering how fool proof that is.
How did you guys out there implement this?