This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Star Defense--> Ease In and Ease Out Animation Optimizati


Star Defense--> Ease In and Ease Out Animation Optimizati

Postby Don_Megga » Sep 9, 2009 @ 7:16am

DOes Edgelib support a variety of timing functions for animation sequences? Are there custom classes or can I take advantage of the timing functions within core animation (ease in and ease out).

The reason I am asking is because the planet in star defense has an excellent response to pinching in an out. It is not abrupt. It actually slows down when at the end of a zoom in or out (or camera translation).

Thanks!

Don Megga
Don_Megga
pm Member
 
Posts: 10
Joined: Sep 5, 2009 @ 9:54pm


Postby edge » Sep 14, 2009 @ 8:41am

Hi Don Megga,

The pinch animation is not really that complicated. It uses a simple velocity variable which is used for incrementing the zoom factor.

There is also a timer class available which speed can be altered run-time. This can be used for slowdown effects.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron