ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator How to do bullet time in Coppercube
person icon
Guest
Guest
Quote
2024-07-19 21:04:19

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.

person icon
just_in_case
Moderator
Quote
2024-07-20 05:39:45

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 emoji icon_holy

person icon
Monks
Guest
Quote
2024-07-20 14:01:32

Hi, how do you use the screenshot in the different scene

person icon
just_in_case
Moderator
Quote
2024-07-23 06:12:38

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |