Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 22 Feb 2013
Offline Last Active Mar 26 2013 02:00 AM

Posts I've Made

In Topic: how to sync transition and animation

28 February 2013 - 02:45 AM

I personally have a set of classes whose only job is to provide different interpolation types (Easing Equations) these are the popular ones and are easy to implement. I then have another class to which you can pass these interpolators which are "chained" together in the right order.


So, for example, I might have 

1)opacity-> 0 to 255 in 2.5 seconds using the linear interpolatr AND size-> 0 to 1 in 2.5 seconds using the out cubic interpolator

2)(the 2nd step starts after the first one) rotate the effect from 0 degrees to 180 degrees in 1 second using the sine interpolator

3) size from 1->0 in 0.5 seconds using the in quadratic interpolator



and so on. I use angelscript (a scripting language) to control these transitions. you could use lua to do the same. 

Hope this gives you a fair idea on how to implement something similar smile.png



hi Bollu

can you explain some function in your link. i understand how it work but not sure about what I need to change. example I want to transition with time is 100ms. from x =0 to x =100. ?

In Topic: how to sync transition and animation

25 February 2013 - 09:58 PM

It seem not easy like I was think.

In Topic: how to sync transition and animation

25 February 2013 - 07:49 AM

thank for reply, but as I was presented .

I was make all transition , rotation , scale. Each of it I can controll Time , radius and scale ratio ,

now I focus on How to sync all trasition and How to make
something like a action Type , in each action Type have many of
transition, rotation, scale of each part of Character object.


I think I need bester structure(architecture) . please advice