game pause

hi
can onyone help me? how can I made pause in game?

thanks jm

you can have an overlay scene
with somthing like

you have 1 property named pause

and when property pause is equal 1 and klick q(set the the klick frequens to 1000) setPrperty pause 2.
and if pause is equal 2 and klick q (frequens 1000) setProperty 1.
if pause equal 1 suspend scene “the scene to pause”
if pause is equal 2 resume scene"the scene to pause"

(set the equal pulse off)

This will work.
if not I give you an .blend :wink:

thanks I know this.
but this isn’t pause which pause objects moving in the current scene.:frowning:

jm

I know .
but I dont know anny otherways sorry
:frowning:

can you not suspend/resume an entire scene with the scene actuator?

I’ll check it when I get a chance

i am very sure u can, when u pause a scene, everything in it will pause.

you can pause a scene with that actator

I was trying to build a demo (of a foreground scene, and pausing/unpausing a background scene) but the logicbrick setup was not working right (would have been much easier with one key to pause, another to unpause…)

another scene actuator to resume the scene.

looks like I will have to read the docs on the logicbricks again…

pause/unpause example file

the key is p (to pause/unpause)

file at
http://home.earthlink.net/~nwinters99/BlenderStuff/pausegame.blend

uses a background scene which is suspended/resumed (paused/unpaused)

RE: z3r0 d
thanks
it work fine:)
I try to insert your script to mine game. thanks.
jm