This content has been marked as final. Show 8 replies
in a loop, you'll use something like:
thx mr.kglad... but i still have many problems i think that all my codes for the ball
were wrong...can u pls explain me a bit more about ur code?
you just need to set-up that loop, define speed (the speed of the ball) and the angle (in radians) that want the ball to travel.
it doesnt work....the ball doesnt move at all..and if i change the ball
speed...he move but he doesnt stop even if my character kick him (my char has codes)...
what code should i put to the character's kick?
sorry for bothering but it will help me a lot...
show the code you are using for your character's kick.
_root.ball._x = _root.ball._x * -1;
_root.ball._y = _root.ball._y * -1;
just a few minutes ago i changed it to like that and the ball go to the corner and stay there...
oh and sorry if i not explained myself....the game i am working on is not 3D or something special is just like that: http://allyoucanupload.webshots.com/v/2005427952467206522
(not really like that, much better but in style like that)