Warpers – Incremental Rotation


I’m currently taking the course Big Game Project at Uppsala University – Campus Gotland, where the goal is to have, after 10 weeks, a working vertical slice of a game which might have the potential to become a product worth selling at a later stage.

We’re now six weeks into the production of the game Warpers and this time I’ll write about a small feature called “incremental rotation” or “rotation interpolation“. Say you have a top-down character which you want to have facing a particular direction. It will look really unnatural if the character immediately snaps to that direction. What you want to have it do is to rotate towards the target angle at an number of angles per frame basis. All characters in Warpers have this function and makes the game feel so much more polished.

How did we accomplish this behavior then? Well Continue reading