I have learned how to create a turn animation, and to be honest, it is pretty simple. You can use it for projects. Just take the whole code/sprite. WASD/Arrow Keys to move.
all by me.