Chapter 10. Time, Part III: Time Systems
Topics in This Chapter
• 10.1 Snail Bait’s Time System
• 10.2 Create and Start the Time System
• 10.3 Incorporate the Time System into Snail Bait
• 10.4 Redefine the Current Time for Stopwatches and Animation Timers
• 10.5 Implement the Time System
In the last chapter, we temporarily modified the flow of time for individual behaviors to influence time’s derivatives—a powerful technique. In this chapter, we extend that technique to implement a time system that modifies the flow of time throughout an entire game.
Slowing or increasing the rate at which time flows through a game is useful for gameplay features and special effects. Snail Bait slows time during transitions ...
Get Core HTML5 2D Game Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.