Hi, The thing here is that the fixed framerate of Qt animations is 60 fps. For most uses this is fine, but if you are trying to move something very fast this might be a little bit too slow.
I've tweaked your example a little bit in order to keep the same vertical movement speed regardless of the animation method. I also added buttons so you can fire it up and: (1) Toggle between NumberAnimation or Timer animations (2) Change the framerate (only available with the timer animation) In my system I had the following result: - If the screen is large enough there's a noticeable difference between the timer animations in 60, 120 and 250 Hz. - Running the timer animation at 60 fps looks like the same thing as using the standard Qt animation I didn't try recompiling Qt with different default framerate, but it should give the same results. -- Eduardo M. Fleury OpenBossa - INdT http://eduardofleury.com/ http://www.openbossa.org/
framerate.qml
Description: Binary data
_______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
