I am a programmer on the project one of the things that I have been working on recently was programming the melee combat. The way that Ive been implementing the combat is that i create a hit box on one side of the skeleton and then upon hitting the melee button if an enemy is in the hit box they are killed or they take damage. I made it this way because if i just did a check to see if an enemy is at a certain point and if there was some sort of bug i would be able to see if the hit box is making contact with somhting or not. The below picture shows the skeletons hit box and the attack hit boxes. For right now there are two attack boxes because we are still working on getting the player to turn.
Together they form together to create a penis looking hitbox.
No comments:
Post a Comment