Balls & Paddle game for RETRO Pong inspired game featuring multi-directional tilt-sensitive paddle, multiple balls, shrinking ceiling and a bit of gravity.
Dependencies: LCD_ST7735 MusicEngine RETRO_BallsAndThings mbed
Balls and Paddle
After doing some work on the Pong mod I decided to put my efforts into making my version object oriented and try to make a generic object-library that could be use for other ball-and-things games. To add some challenges to the gameplay, the following features were added:
- extra-free additional balls to please the juglers
- gravity for pulling the ball down to create some dynamic movement
- directional power-paddle that counters the ball with a bit more speed
- lowering ceiling to make endless gameplay impossible
Diff: Game.h
- Revision:
- 3:a68d4d515c20
- Parent:
- 1:bf46edcd6b4f
- Child:
- 5:8441b390a15f
--- a/Game.h Mon Feb 09 08:40:03 2015 +0000 +++ b/Game.h Wed Feb 25 10:43:41 2015 +0000 @@ -26,7 +26,7 @@ //static const int BALL_RADIUS = 3; static const int BALL_RADIUS = 6; - static const int PADDLE_WIDTH = 38; + static const int PADDLE_WIDTH = 39; static const int PADDLE_HEIGHT = 4; static const int PADDLE_SPEED = 4; static const char I2C_ADDR = 0x1C << 1;