Gamedev In-depth Topics: Time-based vs. Frame-based Movement
KidsCanCode
In this video we discuss how to ensure things in your game move at a consistent speed, even if there is a loss of frame rate (lag).
"In-depth Topics" will explore and explain a little more deeply certain subjects that may be tricky for new programmers to understand, or that may not quite fit into the usual tutorial structure. Most will likely be math related, but they may also cover other topics that come up or are requested by viewers.
Note: While the examples here will be using Python/Pygame, the actual material will apply more generally to all game development, regardless of what language you may be using.
If you like these videos please consider supporting me on Patreon: https://www.patreon.com/kidscancode ... https://www.youtube.com/watch?v=TIiYJaY8ZR0
38082985 Bytes