Walk Animations - UQdeco2800/2021-studio-2 GitHub Wiki
Initially, I had planned to have the enemy attack animation constantly triggered (i.e. the melee elf would be continually stabbing). However, I realised that it would make more sense if the melee attack animations were only triggered when the enemy was in close proximity to the player (otherwise the elves would be attacking thin air). Therefore, I chose to develop walk animations as well where the player was not holding their weapon.
To create a walking animation effect, for the front and back facing animations I made the character's arms move back and forth. I also made one leg longer and the other shorter to symbolise the character was taking a step.

Side wards view
I also noticed that for the player animations, the side profile of the character was different. In the player animation, more of the character's face and chest were visible. It appeared as though the player was looking diagonally toward the left rather than facing directly left (see image below).
So I amended the walk animations, so that the character was facing the same way when it moved along the x-axis.
Original Image
