How do I do counter attacking in C2? When the enemy tries to hit the player,the user presses the button to hit back before the enemy does. How do I do this?
when enemy animation is showed and user press button appears the counter animation.
So is there some kind of code here to do that? I'm completely confused
Develop games in your browser. Powerful, performant & highly capable.
What do you have so far in your code Bobbyneal100? Do you have your player attacks and animations in yet? Enemies?
Actually no,I'm currently learning it before buying
there is not too much to add you need to try that... when the enemy animation attack is touching the player and the button is pressed the animation of counter show the counter animation and kill the enemy.