  | |  | smooth scrolling/subpixel tweening | smooth scrolling/subpixel tweening 2003-11-23 - By Jerry McManus
Back
The repeat loop is the main cause of the problem. Animations should be driven by a scalable time factor, whereas a repeat loop will always execute as quickly as possible. The most basic solution is to put your movement code in an exitFrame handler which at least allows you to tie the animation to your movies framerate. A more advanced solution is to query the system clock every frame and calculate a relative animation speed based on elapsed milliseconds.
Cheers, Jerry
-- -- Original Message -- -- From: <vaccaro3@(protected)> To: <dirgames-l@(protected)> Sent: Sunday, November 23, 2003 10:54 AM Subject: [dirGames-L] smooth scrolling/subpixel tweening
>I'm not all familiar with Director, so what would be > the optimal way of slowing down and maybe interpolating this movement?
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ dirGames-L mailing list - dirGames-L@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l
Earn $52 per hosting referral at Lunarpages.
|
|
 |