Getting tired but making progress

It’s 7am for me and I’ve been up since 2pm yesterday… Anyway, I changed my mind on what I wanted to do next, took a break from code to rig and animate my character:

The animation for when he absorbs a colour makes it so much more satisfying…

 

Back to code though, a little camera work is necessary. In the spirit of the competition, I’ll reveal that I am using a very short bit (basically 5 lines) of pre written code for smooth 2D camera following. If you happen to see this and and go, “hey I’m writing and C#/Unity and I could use something like that!” here it is:

FollowCharacter.cs

Though it will likely need some tweaking, used a couple of magic numbers in there…