NaNo Day 4— Project Life: Tool Swap Animations and Pixel Scaling

It started off as a slow day this morning; I spent a lot of time sorting out animations, rules and expressions and actually didn’t think there’d be anything to show.

But then I wanted to implement crop planting, so I made a start on that:

I needed to adjust the grid I was working on to ensure that when the functionality was there and you hoe the ground, it actually hoes in front of the player with little effort.

With that done I created a global variable to handle the toolSwap function.

Now I’ve got 3 states; 0 = no tool, 1 = sword/weapon and 2 = hoe. It wasn’t too taxing to implement it and now I should have the baseline to handle planting crops, which will be the next feature I’ll be attempting to implement.