Introduction to Collision Detection Tutorial for Games

Опубликовано: 24 Август 2026
на канале: Dan Zaidan
1,769
18

Download this tutorial's source code: https://danzaidan.itch.io/pong-learn-...

In this tutorial, I will teach you about collision detection!
Physics in games is a great topic, so I will introduce to you collision detection (to compliment last tutorial about movement) and help to make your own collision tests.

First, we will understand the theory and the math, and visualizing the equation needed to do a simple, 1D collision.

After programming this, we do 2D and learn about a very common collision in games: AABB vs AABB (Axis Aligned Bounding Box).

This is clip from the "How to Program a Game in C++" tutorial series. If you want to learn more about game development, be sure to check them out here:    • [Tutorial] How to program a game in C++  

I hope you enjoy it!