Since Remedy Entertainment's Max Payne video game, slow motion, or bullet time, has become a popular feature in games. For example, Criterion's Burnout series has successfully explored the slow motion effect in the racing genre. In this recipe, we will implement a slow motion effect that is triggered by pressing the mouse's right button.
Implementing slow motion
Getting ready
For this recipe, we will use the same package as the previous recipes, BallGame, which is in the 16_07 folder.
How to do it...
To implement slow motion, follow these steps:
- Import...