Breakout (4/8) - Advanced Movement and Delta Time - C++/SFML - GPS 2.4 - Urdu/اردو
Programmer Cheema
In this video, we will be implementing advanced movement and understanding trigonometry. We will dive deep into sine and cosine stuff, and use them to divide our velocity/speed + angle into x and y speeds (or x component and y component of our velocity/speed).
We will also learn the concept of delta time and how it allows us to get the same game movements on all computers.
00:00 Start 00:34 How do we move the ball in the Pong game? X and Y Speed 01:15 How are we going to move the ball now? Single Speed and Angle 02:47 The problem associated with using Single Speed and Angle 03:54 Trigonometry to the rescue! Understanding Trigonometry 05:15 Trigonometric Equations - Deriving the equations to find the components of speed 08:30 Implementing the Advanced Ball Movement
13:53 Understanding the Movement issue - Different FPS results in different Movement rates 16:27 Understanding the relationship between FPS and Game Updates 18:06 Introducing Delta Time 19:30 How Delta Time factor will fix the FPS-Movement problem? 20:47 Implementing the Delta Time factor and integrating it into the Ball Movement 24:50 Ending
I hope you liked my video. And if you do like it, subscribe to my channel so that, you don't miss my next video.
#ProgrammerCheema #PakistaniGameDev #GameProgrammingSeries #GameProgramming #GameDevelopment
#GameDev #IndieGameDev #IndieGame #Programming
Bold Aesthetic Creative
YouTube: https://www.youtube.com/channel/UCmL1kMduqjbXpS7s6rGdMHw?sub_confirmation=1 Patreon: https://www.patreon.com/boldaestheticcreative Discord: https://boldaestheticcreative.com/discord Games: https://boldaestheticcreative.itch.io/ Website: https://boldaestheticcreative.com/ Twitter: https://twitter.com/BilalBoss213 Facebook: https://www.facebook.com/bacStudios/ LinkedIn: https://www.linkedin.com/company/bold-aesthetic-creative-studios/
Join HomeTeam GameDev: http://hometeamgamedev.com/
Programmer Cheema
Facebook: https://www.facebook.com/programmerCheema Twitter: https://twitter.com/ProgCheema Instagram: https://www.instagram.com/programmercheema/ Portfolio: https://boldaestheticcreative.com/portfolio LinkedIn: https://www.linkedin.com/in/bilal-cheema-402bba7b/
Who is Programmer Cheema? A Pakistani Indie Game Dev who can do pretty much anything game dev related but would like you to consider me as a Gameplay Programmer since that is what I really like the most and probably, the thing in which I have spent most of the time when doing game dev.
This channel is focused on Indie Game Development, its process, and tutorials to help my fellow Pakistani community. With that said, I will be sharing my opinions on a lot of Pakistani matters. In this channel, all the videos will be in Urdu.
832066704 Bytes