
Pikuma – 2D Game Physics Programming
English | Tutorial | Size: 7.17 GB
Learn all the theory and the math behind 2D game physics and create a simple rigid-body physics engine from scratch with C++.
This course is a gentle introduction into the world of 2D game physics! We’ll review all the beautiful math that provides the foundation for most physics engines, starting with a strong review of vectors, matrices, basic trigonometry, rigid-body collision, and touching a little bit of calculus as well.
c++ physics engine tutorial
The lectures are designed to teach all concepts from first principles. In our journey, we’ll review several topics from physics, like velocity, acceleration, integration, mass, forces, gravity, drag, friction, rigid body dynamics, collision detection, constraints, etc.
We’ll also put theory into practice by coding a very simple 2D physics engine from scratch using the C++ programming language.
We’ll start by writing a simulation of particle physics, which is a good start for us to address concepts like movement, forces, displacement, and integration.
We’ll then proceed to work with rigid bodies by adding shapes to our objects, like circles, rectangles, and polygons. We’ll also learn how to code the collision detection and collision resolution between these rigid bodies.
physics engine constraints tutorial
We’ll conclude our C++ implementation by adding constraints to our physics engine, which will help us add different types of objects to our engine, like joints and ragdolls. Ultimately, constraints will help us improve the stability of our engine, and they are a great opportunity for us to discuss some interesting ideas from calculus.
The tools you’ll need
All you really need is a simple code editor and a C++ compiler. We’ll use a cross-platform library called SDL to display our graphics, and since we can find a C++ compiler for virtually any operating system, you can follow along on either Windows, macOS, or Linux!
operating system
Also, make sure you have pen and paper ready for the lectures. This course will probably be a little bit different than other programming courses you took before. We will take our sweet time and make sure we understand every formula we find along the way!
game math
Is this course for you?
This is a self-contained course with no formal prerequisites. However, you will probably get the most out of it if you already know the basics of coding (if-else, loops, functions).
We will explore some very interesting math along the way, but all you really need is to know some simple algebra. If you know how to solve the equation below for x, then you should be able to follow along and have fun like everyone else!
view solution…
And finally, if you never programmed in C++ before… don’t worry! Many successful students come from different languages like Java, Python, JavaScript, Swift, and others. We’ll go over the ugly parts of C++ together.
About the instructor
gustavo pezzi
Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com.
Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.
DOWNLOAD:
RAPIDGATOR:
rapidgator.net/file/64e3e9838238f8160162999c2ea22f22/Pikuma_-_2D_Game_Physics_Programming.part1.rar.html
rapidgator.net/file/759977dae34dbf1f0ba2dbd7605b6239/Pikuma_-_2D_Game_Physics_Programming.part2.rar.html
rapidgator.net/file/b8d72e24a6f21b7c49228e4e398e8f2d/Pikuma_-_2D_Game_Physics_Programming.part3.rar.html
rapidgator.net/file/1b49063b7c958fc3870f23abca246982/Pikuma_-_2D_Game_Physics_Programming.part4.rar.html
rapidgator.net/file/527421bd2817aa80d1d6a0f1889b1d76/Pikuma_-_2D_Game_Physics_Programming.part5.rar.html
rapidgator.net/file/11f2102478ff0cd4e4939164a77f25a3/Pikuma_-_2D_Game_Physics_Programming.part6.rar.html
TURBOBIT:
trbt.cc/z8hemvh88ozt/Pikuma_-_2D_Game_Physics_Programming.part1.rar.html
trbt.cc/ijhx224y0fvc/Pikuma_-_2D_Game_Physics_Programming.part2.rar.html
trbt.cc/1ynsub6pj82k/Pikuma_-_2D_Game_Physics_Programming.part3.rar.html
trbt.cc/fnhdnbecf5xd/Pikuma_-_2D_Game_Physics_Programming.part4.rar.html
trbt.cc/mgz083blq4r4/Pikuma_-_2D_Game_Physics_Programming.part5.rar.html
trbt.cc/cdqz5cgenchr/Pikuma_-_2D_Game_Physics_Programming.part6.rar.html