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
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. ?