SamuZai
Clear Code
Clear Code

patreon


Breakout in python

A video creating breakout in python. The game includes flexible graphics, sounds, powerups and a cool retro look.   

Related videos:
Introduction to Pygame: https://youtu.be/AY9MnQ4x3zk
Deltatime: https://youtu.be/rWtfClpWSb8 

Timestamps:
0:00:00 - Intro
0:00:37 - Project setup
0:04:56 - Creating the background
0:13:42 - Creating the player(-ish)
0:30:18 - Creating the ball
0:51:14 - Collision theory
1:10:04 - Creating the blocks
1:35:46 - Adding proper graphics
2:21:07 - Adding hearts
2:27:57 - Creating upgrades
3:03:56 - CRT Styling + sounds  


Github:
https://github.com/clear-code-projects/Breakout 

Pastebin:
Start file - https://pastebin.com/xkUTAV17
main.py - https://pastebin.com/ncP1Y1tK
sprites.py - https://pastebin.com/cUfT7jSU
settings.py - https://pastebin.com/eBjqDRZW
surfacemaker.py - https://pastebin.com/KWDLk6xX

Breakout in python

More Creators