playMaker

Author Topic: Hello I want to ask how can I pause all game  (Read 2238 times)

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
Hello I want to ask how can I pause all game
« on: March 05, 2013, 11:21:09 PM »
Hello I want to ask how can I pause all game

maybe I need to make a option button when it press
my all game will pause  and I can go do some setup, then when I press back button

the game will resume .

and

my game hole use mobile orient ,so
when I not touch just shake the game
maybe 10sec  It wiil go sleep mode .
How can I stop it to go to  sleep mode


did playmaker can do this 2 thing?

KozTheBoss

  • Full Member
  • ***
  • Posts: 150
  • You dont fail unless you give up trying to succeed
    • Pixel Life - portfolio
Re: Hello I want to ask how can I pause all game
« Reply #1 on: March 06, 2013, 10:54:33 AM »
Hi Naktim!

I can help you with the game pausing - if you make a GUI button and on-click go to a new state and in that state you put a scale time action (sorry dont remember the exact name of the action, but look under TIME) and you can scale time with it, so set it to 0 which will effectively pause the game.

Make a button aswell in that state and when that is clicked, you flow back into the first state and you set time scale back to 1

hope this helps :)

Koztheboss
Remember, you don't fail unless you give up trying to succeed!

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
Re: Hello I want to ask how can I pause all game
« Reply #2 on: March 06, 2013, 10:11:21 PM »
Thanks u! KozTheBoss
I'll  try it!!

Thx  u very much!!