Building an Interpolation Library in C#

Interpolation in the game development world is essentially the process of counting from one numerical value to another over time. It is often referred to as a tween or “tweening” in the animation world. Interpolation can be a powerful tool used to bring games to life through animation. Effective interpolation adds natural motion, bounce, and response to an interface or world.

In this series, I am going to walk through building an Interpolation Library in C#. A library like this could be used for simple pure-script animations in any C# setting including Unity, XNA, and Mono.

Whether this is your first time working with interpolation, or you’re like me and you’ve written snippets of interpolation code hundreds of times, this tutorial will hone your interpolation capabilities.

Get started using the links below.

Part 1 – The Basics
Part 2 – Simple Easing
Part 3 – Simple Looping
Part 4 – Advanced Looping Behaviours (Coming Soon)
Part 5 – Advanced Easing Functions (Coming Soon)