Since Remedy Entertainment's Max Payne, 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 slow motion while the player presses down the right mouse button or the Alt key.
For this recipe, we will use the same prepared package as the previous recipe:
BallShooterGame from the
0423_10_01 folder. We will also need a texture for a time progress bar, which is named
barTexture.png and can be found in the
To implement slow-motion, perform the following steps: