NaNo Day 5 — Project Life: Tangent Day!
No video today; nothing really to show :(
Basically, I had an idea of what I wanted to do but didn’t really get there…
Following on from yesterday, I had a working solution for tool swapping; the player starts with “empty hands” and then can switch to a sword and then a hoe. I then noticed that I could attack enemies with the hoe.
So I wanted to address this by maybe making them harder to destroy with the hoe and so the first tangent began…
I looked at my scorpion and decided that I wanted to change them to something more relevant with actual animations. So tangent number 2. Spent a while added the animations and copying the playing movement etc and implemented that. But it wasn’t working. I then decided to look at the chicken and how that works; then tangent number 3 reared its head when I decided to re-do the chicken movement from what it was (basic movement logic) to Pathfinding logic. That’s when I realised that when a sprite follows a path, they don’t use TopDownMovement, which has the angle that they moving and that means the animations are now not playing correctly.
So… note for ‘Tomorrow Nathan’; undo what you did and make it simpler. OR figure out how Pathfinding works and set the animations correctly.