playMaker

Author Topic: Convert seconds to string and Scale Time issue [SOLVED]  (Read 1890 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Convert seconds to string and Scale Time issue [SOLVED]
« on: January 28, 2016, 12:48:38 PM »
Hi

Im using the 'Covert seconds to string' as per the forum post in the link below
http://hutonggames.com/playmakerforum/index.php?topic=1711.0

My issue is that my game has a 'time scale' of 1.6 so its faster and makes the timer go faster too. I'm guessing if there was a 'real time' setting this would help? or use another method if anyone can help?

Cheers

Nick
« Last Edit: January 29, 2016, 02:42:43 PM by coxy17 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Convert seconds to string and Scale Time issue
« Reply #1 on: January 29, 2016, 12:43:53 AM »
Hi,

 Use the action "get Time Info" to get the real time and do a substraction from the current real time and the real time you saved when the timer started.


Bye,

 Jean

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Convert seconds to string and Scale Time issue
« Reply #2 on: January 29, 2016, 05:20:10 AM »
Hi

you say to 'Use the action "get Time Info" to get the real time'. This is my setup and all i have done so far is 'Get time since statup' and displayed it to see if its working and it is. But i'm not sure what to do in the next stage as i've added the 'float subtract' but realised i will have the same issue with subtracting not using 'real time'. Not sure what i need where now :/

i've attached a screenshot to see what i need to do next if you dont mind helping me.

Thanks

Nick

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: Convert seconds to string and Scale Time issue
« Reply #3 on: January 29, 2016, 02:41:48 PM »
Hi

It doesn't matter now. I've worked it out. Was rushing and missed the obvious.