Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ofonna on June 27, 2017, 12:32:46 PM

Title: PlayerPrefs alternative?
Post by: Ofonna 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!
Title: Re: PlayerPrefs alternative?
Post by: LordHorusNL 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.
Title: Re: PlayerPrefs alternative?
Post by: Fat Pug Studio on June 27, 2017, 03:07:20 PM
Easy save for the win!
Title: Re: PlayerPrefs alternative?
Post by: Ofonna 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
Title: Re: PlayerPrefs alternative?
Post by: dudebxl 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
Title: Re: PlayerPrefs alternative? [solved]
Post by: Ofonna on June 29, 2017, 03:11:41 AM
thanks guys, easysave indeed works magic,

also thanks @dudebxl