how to make a object to follow others in C
Posted:
Wed Feb 22, 2012 4:55 am
by raminkhan
1 object leads the rest how? in x direction may jump sometimes but again it leads the rest and others should jump with that leader. too please get email me at
raminrahim@hotmail.com if you can't understand me.
Re: how to make a object to follow others in C
Posted:
Wed Feb 22, 2012 11:25 pm
by tintran
like this?
left,right keys to move, space to jump.
Re: how to make a object to follow others in C
Posted:
Sat Feb 25, 2012 10:39 pm
by tintran
this follower will start following leader when the distance between leader and follower is less than or equal to 50.
Re: how to make a object to follow others in C
Posted:
Sun Feb 26, 2012 9:43 pm
by tintran
when leader is close to follower, the text "follow" will appear.
if you click on the text "follow", the follower(pacman) will start following the leader.