Difference between revisions of "Beginner C++ Game Programming Tutorial 17"

From Chilipedia
Jump to: navigation, search
(Topics Covered)
(Homework)
Line 12: Line 12:
 
The homework is to modify the Snek game to use a variable timestep.
 
The homework is to modify the Snek game to use a variable timestep.
  
The solution video is coming soon.
+
The solution video is [https://youtu.be/LMxlBIYkYHc here].
  
 
== Links ==
 
== Links ==

Revision as of 13:48, 17 January 2017

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 variable timestep algorithm
  • Namespaces, using, and using namespace

Video Timestamp Index

Tutorial 17

Homework

The homework is to modify the Snek game to use a variable timestep.

The solution video is here.

Links

See also