Posts

Showing posts from August, 2020

Programming and Designing Melee Combat

Image
Introduction: In this next segment of the blog, I will go into detail about the combat system that exists within the game. In the last segment of the blog, I spoke about designing the main character and creating a 2D Player controller that functions correctly, the next logical step leaned towards sorting out a logical system in which the player can take and receive damage between non played enemies in the game, serving as the foundation to work on to slowly adding in more features in the future.     Designing the required SpriteSheets:  Before I could start anything involving code, I first needed at least one enemy sprite to test with, and I also needed some attack animations for the player to add to the animator and feed in some more parameters to get that added in with the player controller. So that's what I did.    To make testing a bit quicker, I made a character set on the same one as the main character and changed the colors and hair, you could call i...