I'm working on my first game, a Breakout clone (gotta start somewhere, right?). The twist is that the goal is not to destroy all the blocks on the screen, but to destroy certain targets. The blocks are just obstacles for the ball. However some of the blocks do special things when they're destroyed. The two I'm currently planning are a life bonus and a multiball. I got the life bonus just fine, but I'm having trouble with the multiball. I have it set up like this:
<img src="http://farm9.staticflickr.com/8126/8675437323_e24f635ba3.jpg" border="0" />
However, all this does is just create an unmoving ball at the point of collision. I thought editing the attributes would affect the newly spawned ball as well, but it's not working. Help for a newbie please?