🔥Pong Game with C++ and Raylib - Beginner Tutorial

Описание к видео 🔥Pong Game with C++ and Raylib - Beginner Tutorial

Pong Game with C++ and Raylib

In this tutorial I am going to show you how to make Pong, a simple but very addictive game where the player controls the right paddle and the computer the left one. We are going to build this game using C++ and the raylib library. At first we are going to build a simple black and white version, just like the original pong of 1973, but at the end of the video we are going to add colors to it, to make it look better.

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.

Starter Template: https://github.com/educ8s/Raylib-CPP-...

Code: https://github.com/educ8s/Cpp-Pong-Ga...

⏳ Timestamps
0:00 Intro
2:40 Create a blank screen & the Game Loop
8:14 Draw the paddles & the ball
14:21 Move the ball around
18:53 Check for collisions with the edges
21:51 Move the player paddle
26:53 Move the CPU paddle with AI
32:11 Check for collisions
34:27 Add scoring
38:47 Add colors

Комментарии

Информация по комментариям в разработке