ball path problem

Talk about making games.

ball path problem

Postby mt » Fri Jan 05, 2007 11:08 am

we are making a cricket game and in it we are assinging a path to the ball. but the problem is that it looks as if the ball is moving (rolling) on the ground. i want it look as if the ball is above ground and bounces on the pitch and then towards the batsman.
1 way i thought of doing it was if i change the animation so that the ball looks bigger in the starting and smaller at the end but is there a way to change the animation in a path.
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby Kodo » Fri Jan 05, 2007 12:33 pm

Sounds like you need to add a shadow object that runs along the ground at the same speed as the ball. This may give the impression that the ball is off the ground.
User avatar
Kodo
 
Posts: 449
Joined: Thu Oct 20, 2005 8:20 pm
Location: UK
Score: 23 Give a positive score

Postby Game A Gogo » Fri Jan 05, 2007 10:46 pm

or, make it bigger depending on it position in air.
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

thankz

Postby mt » Mon Jan 08, 2007 3:44 pm

thank you both for replying. i'll try that. :)
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby mt » Tue Jan 16, 2007 9:37 pm

i tried the shadow solution u gave me. but now i have 2 problems

1) the shadow does not move so accuratly with the ball. im using move to function both with the ball and shadow. maybe im doing this wrong, is there another way for the actor to follow another actor?

2) when the shadow has moved to the certain point i used move finish to change its animation. but i also want it to collide with the ball at this point. is there a way to do that?
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest