playMaker

Author Topic: how to save a player name and highscore?[SOLVED]  (Read 2353 times)

JGarcia91

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
how to save a player name and highscore?[SOLVED]
« on: October 07, 2013, 05:57:47 AM »
I have no idea or where to start using playerprefs... is there a screencast or video that i can watch?
« Last Edit: October 07, 2013, 11:39:56 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: how to save a player name and highscore?
« Reply #1 on: October 07, 2013, 06:12:57 AM »
Hi,

 have you studied the game sample from M2H?

https://hutonggames.fogbugz.com/default.asp?W890

especially the Main UI fsm:

https://hutonggames.fogbugz.com/default.asp?W895

This will show you how to work with playerprefs.


bye,

 Jean

JGarcia91

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: how to save a player name and highscore?
« Reply #2 on: October 07, 2013, 06:23:53 AM »
thank you so much jean...

nabilfx

  • Full Member
  • ***
  • Posts: 186
    • View Profile
Re: how to save a player name and highscore?[SOLVED]
« Reply #3 on: April 23, 2015, 11:18:01 AM »
The score is saved in the cloud?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: how to save a player name and highscore?[SOLVED]
« Reply #4 on: June 15, 2015, 05:05:49 AM »
Hi,

 No the score is saved in the PlayerPrefs, it's local.

 Bye,

 Jean

doge biscuit

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
Re: how to save a player name and highscore?[SOLVED]
« Reply #5 on: July 24, 2015, 07:11:48 PM »
I found this topic while looking for a way to store high scores. Got a silly question about Playerprefs. Does Playerprefs work for iOS and Android?

Thank you!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4611
    • View Profile
    • jinxtergames
Re: how to save a player name and highscore?[SOLVED]
« Reply #6 on: July 25, 2015, 02:13:43 AM »
Hi,
Yes it does, but easy to hack

I prefer to use easysave2 (not free).
it is encrypted and has actions for Pm.