non-linear interpolations can be used to control the movement of sprites and objects, and can make things appear to move more like things in real life do... For instance, when I begin walking, I am not instantly up to speed, I accelerate... and when I get where I'm going, I slow down...
Does anyone have DBPro source for a function that can do non-linear interpolations?
Specifically, an ease in, ease out interpolation?
I used to own "Game Programming Gems I" and it had a great article on interpolation methods (including linear, ease in, ease out, and ease in out). The classes for doing these were ridiculousley small, and the important parts were really just a couple lines long... Needless to say, I no longer own this book (don't ask!)... and I've lost the sources... I would love it if someone could either post a DB implementation of this functionality, or the original C++ (which I would translate into DB and post)...
Actually, I really think DB should build this into the language... Ease In/Out interpolation is SO usefull for making object (and sprite) translations look a lot more realistic...