Hello,
So I’m a new developer and I cannot find anywhere how is the attack logic programmed in games as a whole.I cannot even find for one specific game how it is done.Nevertheless, this is my prototype on the image and my question is how can I program the following : when the button with the fist is clicked the knight launches his attack animation and destroys enemy in front of him. Now I obviously can’t put collision detection on the sword so any ideas how it’s gonna be done ?
Regards
enterm