118 reputation
3
bio website
location
age
visits member for 2 years, 10 months
seen Feb 16 '13 at 23:40

May
10
asked AS3: Using singletons for sound managers
Jan
26
comment Generic item collision/reflection in Pong (Flash)
Awesome, will definitely look all this over in detail. Thanks so much
Jan
26
comment Generic item collision/reflection in Pong (Flash)
So I imagine I have to repeat the process for where I bump the ball up to depending on whether or not the center of the ball lies above/below/within the x=y lines overlaying the corners of the paddle?
Jan
26
awarded  Scholar
Jan
26
accepted Generic item collision/reflection in Pong (Flash)
Jan
26
comment Generic item collision/reflection in Pong (Flash)
Also, I am using x/y coords as opposed to vectors. Is that going to hurt me here?
Jan
26
comment Generic item collision/reflection in Pong (Flash)
So would I have to do this for the three relevant sides of my paddle?
Jan
26
comment Generic item collision/reflection in Pong (Flash)
(Don't get me wrong -- I love Doom and appreciate your answer XD But I think this question is a bit simpler!)
Jan
26
awarded  Editor
Jan
26
revised Generic item collision/reflection in Pong (Flash)
added 344 characters in body
Jan
26
comment Generic item collision/reflection in Pong (Flash)
In this case I figure my polygons are simple enough to do some basic math. For instance, say I use a basic hitTest to see if they are intersecting in the first place. Is there a way to figure out, based on the direction the ball had been moving at the time of collision, the point of tangency with respect to the paddle? I'll update my original post. One moment.
Jan
26
awarded  Student
Jan
26
asked Generic item collision/reflection in Pong (Flash)