Tuesday, 18 December 2007

Two player Multiball



In this example I've added a load more balls for the players to cope with. Try and hit all those back! I've also added some background changes when a particular ball hits a paddle.

Moving horizontally




A simple modification to the code and I could make the user's paddle move horizontally as well as vertically. In the example above I also applied a simple flashing background and the tune from Pacman.

Changing ball speed




I found it's possible to change the ball speed on hitting the paddles. I applied this to the above file in which the ball gets increasingly quicker until it becomes insanely fast. The user also has a larger paddle in this one.