Page 1 of 1

can someone help me with making a ball launch anywere

PostPosted: Sun Jun 10, 2007 6:31 pm
by 98700
the title says it all...

PostPosted: Sun Jun 10, 2007 6:32 pm
by Sgt. Sparky
how do you want it to launch?

PostPosted: Sun Jun 10, 2007 6:33 pm
by 98700
my game is like pong
i need the ball to go random direction at start

PostPosted: Sun Jun 10, 2007 6:35 pm
by d-soldier
Put:
angle = rand(360);
directional_velocity = 3;

In the create-actor script for the ball, and adjust the velocity to your liking.

PostPosted: Sun Jun 10, 2007 6:37 pm
by 98700
that kinda didnt work it goes in circles :!: :?:

PostPosted: Sun Jun 10, 2007 6:38 pm
by d-soldier
You put it in the CREATE ACTOR event???
EDIT:
Works fine.. you must have used the draw-actor event...

PostPosted: Sun Jun 10, 2007 6:57 pm
by 98700
lol i got it. ty