Player Movement


This week's Devblog is on Player Movement. I implemented movement for one of my player characters. From there, I can duplicate it to make the other characters and change slight things about them to match the new characters, EG making one character slower than others to reflect the different playstyles each character will have. I also Implemented basic animations walking animations and shooting for the archer character. I had a bit of trouble with animating the shooting animation and the arrows coming out at the wrong orientation.

The animation and movement for my character was done using a script I edited from the tutorials and using blend tree for the animations. attaching a ridgebody2d and setting the gravity to zero because the game is a top down I don't want the player character to fall down the screen. at the moment the character is only controlled by WASD, I didn't have time to learn how to and implement controller support but this is something I'm hopefully able to do very soon   

From here the goal is to have movement for the other characters and their animations sorted so I will be able to then test how they interact with the environments. The character in the GIF below I'm not sure if he or another character I have in mind will have a "dash" ability or not I think once I implement the other characters and knuckle down on how each character "feels" with their own weapons I'll be able to work it out

When other students play tested my game they stated that the animation can stop working if shooting in one direction but walking in another. I'll have to either try and change the way the animations work or disable being able to shoot and move which is something I don't really want because it might ruin the "flow" of my game.

its exciting as I'm doing just basic movement for my character its inspiring me more and making me excited for what's to come for my game the next Aspect of the game I'll be working on is getting tile art and actually making the maps so I then can start working on the core aspects of the game and actually being able to showcase more of a game instead of just a small movement demo. 


Sprite characters from Shade on itch.io

https://merchant-shade.itch.io/16x16-puny-characters#download

Leave a comment

Log in with itch.io to leave a comment.