breakout

  scripts
  sprites
See inside
Instructions

*Move mouse to control paddle
*Don't let the ball fall into the lava
*Bounce it off the bricksNone

Notes and Credits

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.

MORE IDEAS
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.

Shared: 9 Sep 2010 Modified: 12 Jun 2013
Favorite this project 0
Love this project 3
Total views 388
View the remix tree  3
  
More projects by boisvert