playMaker

Author Topic: How do you make save functionality?  (Read 4567 times)

mrminico

  • Full Member
  • ***
  • Posts: 129
How do you make save functionality?
« on: October 03, 2016, 01:25:13 AM »
I was wondering is Play maker capable of creating some sort of save file function via states or a "save game" manager. I was looking up on the asset store and saw a plugin called Easy save. I don't have money right now and I'm trying to see if theres a way I may be able to do some sort of save game state machine with Playmaker.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: How do you make save functionality?
« Reply #1 on: October 03, 2016, 07:25:12 AM »
Hi,
You can save data in playerprefs but it is easy to hack.
You could use it 1st and wait for easy save to be on sale :)

There is another asset called 'Smooth Save for PlayMaker' which is cheaper
but i don't know if it is possible to upload saves to a server with this one.

mrminico

  • Full Member
  • ***
  • Posts: 129
Re: How do you make save functionality?
« Reply #2 on: October 04, 2016, 12:19:17 AM »
Wait how is it easy to hack? Im not really going to make any online functionality in my game. And can you explain like lets say I want to make an auto save that saves every hour or after finishing a mission how would that work with playmaker player pref?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: How do you make save functionality?
« Reply #3 on: October 04, 2016, 06:36:32 AM »
hi,
Code: [Select]
Wait how is it easy to hack?It is very easy for a user to change the data (cheat) on playerprefs
online and offline

if you want it to auto save every hour you can use a wait and set it to 3600 and on the next state save the data you want to safe and loop back to wait.
You can add a global transition to it so you can also save on demand (end of level, or a save button for the player to press)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: How do you make save functionality?
« Reply #4 on: October 04, 2016, 12:12:25 PM »
You can encrypt or MD5/SH1 (https://snipt.net/dudebxl/tag/actioncategoryencryption/) the playerpref data.

Search this forum (for encryption package) + ecosystem (see above link for ref) for the actions.

Then your data is hack proof...
« Last Edit: October 04, 2016, 12:15:29 PM by dudebxl »

mrminico

  • Full Member
  • ***
  • Posts: 129
Re: How do you make save functionality?
« Reply #5 on: October 04, 2016, 01:31:00 PM »
hi,
Code: [Select]
Wait how is it easy to hack?It is very easy for a user to change the data (cheat) on playerprefs
online and offline

if you want it to auto save every hour you can use a wait and set it to 3600 and on the next state save the data you want to safe and loop back to wait.
You can add a global transition to it so you can also save on demand (end of level, or a save button for the player to press)

I see thanks again for your insight.

mrminico

  • Full Member
  • ***
  • Posts: 129
Re: How do you make save functionality?
« Reply #6 on: October 04, 2016, 01:32:46 PM »
You can encrypt or MD5/SH1 (https://snipt.net/dudebxl/tag/actioncategoryencryption/) the playerpref data.

Search this forum (for encryption package) + ecosystem (see above link for ref) for the actions.

Then your data is hack proof...

I'm really confused by all that code I'll search it all in the ecosystem and one last question I have for you, how do I setup this encryption package?

dudebxl

  • Hero Member
  • *****
  • Posts: 602

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: How do you make save functionality?
« Reply #8 on: November 13, 2016, 12:15:24 PM »
@mrminico - version 1.0.2 is broken  :'( . I am looking for an old version and i will let you know

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: How do you make save functionality?
« Reply #9 on: November 13, 2016, 12:55:51 PM »
Uploaded previous version 1.0.1beta