Python pygame Pong tutorial. In this tutorial I am going to show you how to make Pong, a simple but very addictive game that was released back in 1973 by Atari. It is a very simple game by today's standards but it was a massive hit in its day. We are going to build this game using Python and the Pygame module.
Although Pong is a very simple game, it covers a lot of the aspects of computer game programming, like movement, control, collision detection, scoring, artificial intelligence and so on. If you learn how to program Pong you will be able to program a lot of other games as well.
Code of the project: https://github.com/educ8s/Python-Pong...
Python cheatsheet: https://bit.ly/3osnz6l
Previous Tutorials (Watch in the following order)
Courses:
📘 Python for Absolute Beginners Course: • Python for Absolute Beginners
📖 Get my FREE Python Cheat Sheet: https://bit.ly/3osnz6l
💎 Premium Courses:
Object Oriented Programming Made Easy: https://bit.ly/3NaMfg4
💡 Pygame 101: • Get Started in pygame in 20 minutes!
💥 Pygame Collisions: • Pygame Beginner Tutorial: Checking fo...
🐍 Snake Tutorial: • Snake Game in Python Tutorial with py...
🦠 Game of Life Tutorial: • Conway's Game of Life tutorial in Pyt...
🧱 Tetris Tutorial: • Creating Tetris in Python with pygame...
👾 Space Invaders: • Python Space Invaders Game Tutorial w...
0:00 Intro to the game
2:25 Install pygame
3:30 Create a blank screen & the game loop
10:34 Draw the arena, the paddles and the ball
18:28 Move the ball around
21:01 Check for a collision with all edges
25:21 Move the player's paddle
29:22 Move the cpu paddle with AI
32:18 Check for a collision with the paddles
33:26 Add scoring
Смотрите видео Pong Game Tutorial using Pygame & Python - For beginners онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming With Nick 03 Октябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,047 раз и оно понравилось 273 людям.