Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I want to do bullet time just like other games. I also want to slow mo the game when I am changing weapons with the weapon selector wheel. I also want to know how to pause and play the game. I don't want to switch between scenes but still want to pause the game in its current state. |
||||
|
You can use the command ccbSetGameTimerSpeed(speedFloat) it allows you to control the speed of the game, you can use it to slow down the game and can create effect that you desire, it won't slow down things that has been based on the input event that is on key press or mouse event unless they use the game timer that is "time" to do the animations and other stuff. Regarding pausing and playing the game, if there is nothing much going on, You may once again use the same command to set the game timer to "0", and use it to create a pause in your game, I am not sure if it will work in the desired way or not. But there is nothing wrong with giving it a try. This is not the best way to pause and play the game though, changing scenes might be a better option, you can capture the screenshot of the game during the pause and use it in the new scene so that it will look as if the scene has not been changed. Hope that helps ![]() |
||||
|
Hi, how do you use the screenshot in the different scene |
||||
|
just use the command ccbSaveScreenshot(filename)to save the screenshot in your pc, and then load the texture from PC, using the same name you used to save the screenshot. |
|