: [Flashcoders] Arkanoid - paddle...
You could do something like the following:
ball_hit_value = (((hit_position / paddle._width) * 100) - 50);
Then you end up with a number between -50 and +50 which can be used to
modify the angle of the bounce off the paddle.
By the way, I'm not sure how to ge
You could do something like the following:
ball_hit_value = (((hit_position / paddle._width) * 100) - 50);
Then you end up with a number between -50 and +50 which can be used to
modify the angle of the bounce off the paddle.
By the way, I'm not sure how to get the hit_pos on the paddle... Any
On 19-apr-2006, at 21:59, kariminal wrote:
Hello,
Im building an Arkanoid style game. In the original game the paddle's
reaction surface seems to behave like a concave surface - when
reacting with
the ball.
Do any of you have any tips or links to usefull resources to
implement this
func
Hello,
Im building an Arkanoid style game. In the original game the paddle's
reaction surface seems to behave like a concave surface - when reacting with
the ball.
Do any of you have any tips or links to usefull resources to implement this
function?.
Thanks
- karim
__
4 matches
Mail list logo