Hi,
i have coded a very simple version of "Breakout" HERE
The whole thing works great bar one small problem.
I can't understand why the ball does not reverse it's _x/_y movement when it rebounds into a brick from another brick - Hit a brick from the bat - no problem, but get behind a brick & then hit that & the ball merrily carries on in it's original path.
fla attached.


Reply With Quote