Project 2 - Breakout
Breakout is a game very much like Pong, in that there is a bouncing ball that
the player hits with a paddle. Breakout adds some rows of "bricks" near
the top of the playing board. Every time the ball hits a brick the player
scores, the ball bounces as if it hit a wall, and the brick disappears.
We will discuss in class how to determine whether the ball hits the
horizontal or vertical surface of a brick.
Your game should have the following features:
- Several balls available for a single play
- Different sound effects for different types of events
In addition you should implement at least four enhancements which may
include:
- Add levels to your game, so that the player sees a new pattern of bricks
when they finish clearing a level.
- Create special animations for when bricks are destroyed such as
shrinking to nothing, exploding, etc.
- Have different types of bricks like invisible bricks, bricks that blink
in and out, bricks that require multiple hits to be destroyed,
indestructible bricks, bricks that change the velocity of the ball, etc.
- Bricks that do some "magic" when a ball hits them like creating multiple
balls, making bricks temporarily invisible or indestructible, shrinking or
growing the paddle, etc.
- Animated sprites that shoot at the player.
- The change in velocity of the ball is dependent on where it hits the
paddle. I mean velocity here, not speed. So that both the
trajectory and speed is different if you hit on the edge versus hitting in
the middle of the paddle.
- Enhancements of your own devising.
Turn in your code plus documentation describing your game and enhancements.
Have fun!