[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] QCanvasSprite + QObject
From:       thomas.friedrichsmeier () ruhr-uni-bochum ! de
Date:       2001-12-20 11:11:28
[Download RAW message or body]

> > You do not need timers for the animation. The Cavas Items
> > have a function advance which is called periodically with
> > a period which you set with setAdvancePeriod or so.
> > You can do, movement and animation in this function
> > without the need of additional timers.
> 
> Well, I wasn't talking about advancement, although, for some objects I
> found it handy to set them to not animated and move them by hand. But
> for all I know, there is no functionality for setting the
> sequence/frame automatically, so that's what I need timers for (BTW,
> the timer-periods may differ for these animations, so a global
> setAnimationPeriod or the like would not help me).

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.

Thomas
_______________________________________________
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