Revision 697161

Go back to digest for 12th August 2007

Optimization in Games

Mauricio Piacentini committed changes in /trunk/KDE/kdegames/kgoldrunner/src/kgrcanvas.cpp:

Add a couple of QTimeLine calls to tweak performance. Feel free to revert these or change it back to the default EaseInOut Shape, but linear seems to work better with fewer frames per second imo. It would be a pity not to have the animation for performance reasons, but with fewer frames per second it uses only about 5% cpu on an average system.

File Changes

Modified 1 files
  • /trunk/KDE/kdegames/kgoldrunner/src/kgrcanvas.cpp
1 files changed in total