fighting

Talk about making games.

fighting

Postby deek » Fri Dec 29, 2006 12:04 am

how do you make the character only colide with a punch or kick
deek
 
Posts: 48
Joined: Wed Dec 20, 2006 6:52 am
Score: 0 Give a positive score

Postby Troodon » Fri Dec 29, 2006 11:54 am

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
:)
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby deek » Sat Dec 30, 2006 9:14 pm

i tried new animation but the player also collides on regular contact

im not that advance
deek
 
Posts: 48
Joined: Wed Dec 20, 2006 6:52 am
Score: 0 Give a positive score

Postby Troodon » Sat Dec 30, 2006 10:01 pm

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.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Game A Gogo » Sat Dec 30, 2006 11:25 pm

while coliding, check for the Animpos and Animindex if their are correct
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Joshua Worth » Mon Jan 01, 2007 1:31 am

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
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby deek » Mon Jan 01, 2007 5:07 am

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
deek
 
Posts: 48
Joined: Wed Dec 20, 2006 6:52 am
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest