hit_pos on the paddle = ball_mc._x - ( paddle_mc._x + paddle_mc._width )...
OK got it.. Lets play arround... Thanks... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Newman Sent: 19 April 2006 21:52 To: Flashcoders mailing list Subject: Re: [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 get the hit_pos on the paddle... Anyone? Kevin N. 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 function?. > > > > Thanks > > > - karim > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > > > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.3/316 - Release Date: 17/04/2006 _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

