PDA

View Full Version : Problem With Animation



A.H.M. Mahfuzur Rahman
21st July 2009, 05:41
I am working with animation in Qt. I am really in problem with timing between different animations. Say, I have 3 balls in positions (100,100),(90,90) and (95,90). I want to move them one after another(after one reaches to destination another starts) to 3 different postions.Say, every movement takes 1 sec.

How can I control it?

Thanks in advance
Mahfuz

nish
21st July 2009, 05:48
take a look at Qt animation framework..

wagmare
21st July 2009, 06:23
also follow this example if your three balls are graphicsItem ...
http://doc.trolltech.com/4.3/graphicsview-collidingmice.html