Player Movement


Sprites:

For my player I used a premade sprite sheet which can be found here (Szardi Art, 2020). This is a basic player sprite sheet which I had to edit to make the East and North Sprites by duplicating the South and West sprite sets. 

Movement: 
The movement is done through the provided EightWayPlayerMovement from the tutorials. The code takes input from the W, A, S and D keys to move around and uses a fixed movementSpeed variable to control the speed of the velocity of both X and Y.

The animation of the player is done through a blend tree which has 2 modes currently. The first is the idle state and the second is the walking state. These 2 states are changed when the players X and Y Speeds are changed. These are controlled through a script on the player. 


Animation Preview:
Below attached is a GIF of the current movement. 


Feedback:

"Nice 4-directional movement!  I thought it was maybe a little bit fast, though.  Animations are set up well although in the build I played many of the sprites still had bilinear filtering on, so just check the import settings if you haven’t already.  Keen to see where it goes!" -Ethan

Overall there was really good feedback from my peers, however there were mentions of there being no diagonal sprite-sheets and that the filter for the sprites were not set to point which has now been changed making the overall sprite-sheet more HD. 


References:
Szadi Art, 2021, RPG Main Character , Accessed on 10/09/21, <https://szadiart.itch.io/rpg-main-character>

Files

Build.zip 7.3 MB
Sep 09, 2021

Leave a comment

Log in with itch.io to leave a comment.