playMaker

Author Topic: PlayerPrefs alternative?  (Read 2664 times)

Ofonna

  • Full Member
  • ***
  • Posts: 230
PlayerPrefs alternative?
« on: June 27, 2017, 12:32:46 PM »
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

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: PlayerPrefs alternative?
« Reply #1 on: June 27, 2017, 12:37:59 PM »
Easy Save would probably by your best alternative if you need to save a lot of variables.

But offcourse it's a paid asset.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: PlayerPrefs alternative?
« Reply #2 on: June 27, 2017, 03:07:20 PM »
Easy save for the win!
Available for Playmaker work

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: PlayerPrefs alternative?
« Reply #3 on: June 27, 2017, 04: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
Re: PlayerPrefs alternative?
« Reply #4 on: June 28, 2017, 04: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

Ofonna

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

also thanks @dudebxl