Bare hands fighting, is there any starter sample ?

I am talkin about bare hands fighting-

You can say like wrestling. I want a way to work on it.
Like a sample starter on how to decrease the power…

please help me on this

Can you be more specific? :stuck_out_tongue:

i want a starter example, i wanna make a game in which 2 people fight without any weapons

Do you have any knowledge of scriping in C# or Java? I am working on a melee bassed AI project right now. Check it out. http://forum.unity3d.com/threads/125753-Advanced-Melee-AI-with-A*-pathfinding.

yes i can code in both, but can you help in what i am looking for ??

Jess, just think about what you know needs to be done such as you need both fighters to move, start with that, then work on the parts if a button is pressed they punch or kick then go from there. When thinking of a game mechanic you have to break it down into small manageable pieces and go from there…

I m confused at 1 part…if my player is tagged player and if enemy is tagged enemy…then if my player punches then how enemy’s power will be reduced and if enemy hits player then how player’s power will be reduced ?

I am takin about the iff condition…plz tell me a sample code to reduce the power…i think here I m gettin confused

Examine FPS tutorials as bullet damage and hand damage is the same so watch FPS tutorials.

Whether 2D style a la Street Fighter or 3D style a la Tekken, I’d say you need to first determine basic hit boxes on your characters’ whole bodies, then some others on their fists and kicks (and whatever parts they hit with in your game like elbows or knees, head, you name it) to know when those collide with the body hit box of the opponent. Then it’s just a matter of how much hit points you’ve assigned in your “punch variables” and “kick variables”. Whenever the punch collides with the body hit box, then the punch variable amount is taken out of the character’s HP variable.

That could be your starting point.

This could inspire you

and here for the damage of attacks