@Superku,
I tried yours, it looks awesome! I love the smooth movement. I will probably keep my version for the game for now, just because I actually understand it and it is working, but thanks. I do plan to study your code in more detail, and hopefully learn a few things from it.

@txesmi
That looks really neat! I will try that out when I have the chance. Thanks for your contribution. It is humbling to see so much more sophisticated code than mine (both you and Superku) so I appreciate the help!