*Move mouse to control paddle
*Don't let the ball fall into the lava
*Bounce it off the bricksNone
A simple breakout game - updated, to make the code simpler and improve some concurrency troubles.
HOW I MADE THIS
* It's strongly inspired from the pong game
* The paddle moves it's X coordinate at a speed that depends on the mouse's x coord
* The ball turns by two times the paddle speed when it bounces on it.
Bricks can be duplicated to add more. Remember to change the winning test (score=150) if you change the number of bricks.
With carefully positioned bricks there could be fiendishly complicated levels :-)
The colours at the edge of the bricks are used to get the ball bouncing in the right direction. If you draw your own obstacles, use those colours or rethink the bounce scripts.