I've been trying to make a game where the player can fight with a sword but its not working! Please help! How do you do it?
Explain what you want the player and how do you want the angle of the sword and what type of combat are we dealing with ?
because I don't know where you have problems
Link to a tutorial for a sword fighting game
https://youtu.be/9k_3HGmCQaM?t=856
Develop games in your browser. Powerful, performant & highly capable.
Add animations for the player holding a sword and everytime you press a certain key/controller button it will -1 the enemies HP? I really don't know as u haven't provided is enough info to answer that.
What I want is the player to be able to hit badguys with a sword and if an enemy comes from behind it hurts the player.
Like what happens on legend of zelda.