Page 1 of 1

fighting

PostPosted: Fri Dec 29, 2006 12:04 am
by deek
how do you make the character only colide with a punch or kick

PostPosted: Fri Dec 29, 2006 11:54 am
by Troodon
How advanced are you in GE?
You can check for example the punch animation and then collide.
Or use on/off variable
Or make new animation of the hand
:)

PostPosted: Sat Dec 30, 2006 9:14 pm
by deek
i tried new animation but the player also collides on regular contact

im not that advance

PostPosted: Sat Dec 30, 2006 10:01 pm
by Troodon
Is the actor hitting with a hand?
If yes, make an actor "hand" and add it as child actor for your main actor.

If possible in your game, you can also use the collision right,left,up,down... side of actor function.

PostPosted: Sat Dec 30, 2006 11:25 pm
by Game A Gogo
while coliding, check for the Animpos and Animindex if their are correct

PostPosted: Mon Jan 01, 2007 1:31 am
by Joshua Worth
I have already posted a link to this game, but it has exactly what you are talking about...

http://www.worth.id.au/~joshua/forums/?q=node/14

PostPosted: Mon Jan 01, 2007 5:07 am
by deek
Not really

Im looking for more like a button Press fight(A,B,Start,Select)

Im Building the game in a form of super smash bros


What I Need:
Fight System
Health System