RE: [Flashcoders] Arkanoid - paddle...

2006-04-19 Thread kariminal
: [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

Re: [Flashcoders] Arkanoid - paddle...

2006-04-19 Thread Kevin Newman
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

Re: [Flashcoders] Arkanoid - paddle...

2006-04-19 Thread Julian 'Julik' Tarkhanov
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

[Flashcoders] Arkanoid - paddle...

2006-04-19 Thread kariminal
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 __