This is a simple implementation with Python 3 and PyGame of the classic Breakout game. The purpose is to serve as a demo game for a series of a series of articles on building games with Python 3 and PyGameg:
- part 1
- part 2
- part 3
- Simple generic GameObject and TextObject
- Simple generic Game object
- Simple generic button
- Config file
- Handling keyboard and mouse events
- Bricks, paddle and ball
- Managing paddle movement
- Handling collisions of the ball with everything
- Background image
- Sound effects
- Extensible special effects system
I used some color constants I found in this nice article: https://www.webucator.com/blog/2015/03/python-color-constants-module/