Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on June 06, 2014, 12:15:11 AM

Title: Best Time
Post by: Rabagast on June 06, 2014, 12:15:11 AM
Hi!
Is it very difficult to make a best time in the game?
I have a little problem. I'm not sure if I am on the right way.

I want to store my best time when I beat my old record.
I tried to use an In Compare which compare Game Time with Best Time.
But it doesn't work correct.

I'm not giving up yet, but if someone could just tell me if I'm thinking correct, I would be very happy. :)
Title: Re: Best Time
Post by: Rabagast on June 06, 2014, 04:00:45 AM
I found it out bymyself. But how can I save the Best Time? So when I exit the game and then start it again, the Best Time will still be there.
Title: Re: Best Time
Post by: bizilux on June 06, 2014, 07:23:40 AM
PlayerPrefs
Title: Re: Best Time
Post by: TrentSterling on June 06, 2014, 02:39:39 PM

(http://hutonggames.com/docs/img/PlayerPrefsSetInt.png)
https://hutonggames.fogbugz.com/default.asp?W545
Title: Re: Best Time
Post by: Rabagast on June 06, 2014, 11:05:32 PM
Thank you very much. :)