playMaker

Author Topic: PlayerPrefs alternative?  (Read 193 times)

Carmichael

  • Full Member
  • ***
  • Posts: 221
    • View Profile
PlayerPrefs alternative?
« on: June 27, 2017, 09:32:46 AM »
hi guys, im working on a huge project and i'm very skeptical about using player prefs because i heard it's very easy to hack, i would really love to know if there's an alternative to playerprefs as i've been using playerprefs for all my projects but this is different. it's a game for mobile btw.

thanks!

LordHorusNL

  • Junior Playmaker
  • **
  • Posts: 76
    • View Profile
Re: PlayerPrefs alternative?
« Reply #1 on: June 27, 2017, 09:37:59 AM »
Easy Save would probably by your best alternative if you need to save a lot of variables.

But offcourse it's a paid asset.

krmko

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • Fat Pug Studio
Re: PlayerPrefs alternative?
« Reply #2 on: June 27, 2017, 12:07:20 PM »
Easy save for the win!

Carmichael

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Re: PlayerPrefs alternative?
« Reply #3 on: June 27, 2017, 01:58:38 PM »
thanks for the reply guys, is it really protected, where i don't have to worry too much about someone hacking the high score, i also intend using it for paid products. thanks

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: PlayerPrefs alternative?
« Reply #4 on: June 28, 2017, 01:27:34 AM »
You could also encrypt your data before saving using PlayerPrefs Encryption actions @ http://hutonggames.com/playmakerforum/index.php?topic=9789.0

or use the playerpref hash protection [if the playerpref is changed then it is reset to 0 or empty string] - on ecosystem (search PlayerPrefs and look for result "with hash") or look here: https://github.com/dudebxl/PlayMakerCustomActions_U5/tree/master/Assets/PlayMaker%20Custom%20Actions/Encryption

and if you need to save array data to a text file, then see PlayerPrefsQ - https://github.com/dudebxl/PlayMakerEcosystemPackagesRep_U4/tree/master/PlayMaker/Ecosystem/Custom-Packages/PlayerPrefsQ

Carmichael

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Re: PlayerPrefs alternative? [solved]
« Reply #5 on: June 29, 2017, 12:11:41 AM »
thanks guys, easysave indeed works magic,

also thanks @dudebxl