In the beginning I say triangle by accident but don't get confused, this video is all about rectangles. Breakout is a classic Atari game that requires the player to intercept a ball with a rectangle that he is controlling in the lower part of the screen and to hit other rectangles in the upper part of the screen.
Breakout was quite innovative for its time (1976) and today people often try to remake it when they are learning a programming language.
In this video I want to show my implementation of breakout and how to draw rectangles, destroy them and how to move a rectangle with keyboard buttons.
My Code:
https://github.com/scidan/Breakout
pygame Official:
https://www.pygame.org/
Смотрите видео Breakout Exercise: Moving and Destroying Rectangles - pygame Tutorial #2 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DMK Data 14 Апрель 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,689 раз и оно понравилось 35 людям.