I?m doing a PONG game, so far so good except that sometimes the player controlled movements cause the ball to keep bouncing only vertically on Y axis. It won?t reach the other player and the only choice is to refresh the page.
Here's the DEMO
How can I set that IF the ball is not moving fast enough towards X movement it should move faster OR be destroyed OR do something exiting?
Sample of script:
<img src="http://img109.imageshack.us/img109/2316/capture2ln.jpg" border="0">
Download the Project Here