Difference between revisions of "Beginner C++ Game Programming Tutorial 17"
From Chilipedia
(Created page with "In this video we do the timestep thing in the Poo game. That means we measure (with <code>std::chrono::steady_clock</code>) the time taken for each frame, and then step the ga...") |
(No difference)
|
Revision as of 22:18, 25 December 2016
In this video we do the timestep thing in the Poo game. That means we measure (with std::chrono::steady_clock
) the time taken for each frame, and then step the game's simulation by that amount. We also learn about the using
keyword.
Topics Covered
-
std::chrono
shit - Simple timestep algorithm
- Namespaces,
using
, andusing namespace
Video Timestamp Index
Homework
The homework is to modify the Snek game to use a variable timestep.
The solution video is coming soon.