Breakout in python

Опубликовано: 18 Октябрь 2024
на канале: Clear Code
64,651
881

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

If you want to support me:   / clearcode  
(You also get lots of perks)

Social stuff:
Twitter -   / clear_coder  
Discord -   / discord  

Related videos:
Introduction to Pygame:    • The ultimate introduction to Pygame  
Deltatime:    • Understanding framerate independence ...  

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-project...

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