[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-games-devel
Subject: Re: [Kde-games-devel] QCanvasSprite + QObject
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2001-12-20 11:22:40
[Download RAW message or body]
On Thursday, 20. December 2001 12:11,
thomas.friedrichsmeier@ruhr-uni-bochum.de wrote:
> Oops, thought again and saw that I missed the point. Still, since the
> frame-rates for the animations may differ from each other and from the
> advancement-frame-rate (which is configurable, too), I think I still need
> those timers.
How about setting the advance time to the larges common divisor.
E.g: sprites move with 150ms tick, animationas are 100ms tick ->
base tick 50ms.
Animations change every two ticks, sprites move every 3 ticks.
Kevin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
kde-games-devel mailing list
kde-games-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic