playMaker

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

mrminico

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
How do you make save functionality?
« on: October 02, 2016, 10:25:13 PM »
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: 2278
    • View Profile
    • jinxtergames
Re: How do you make save functionality?
« Reply #1 on: October 03, 2016, 04: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

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
Re: How do you make save functionality?
« Reply #2 on: October 03, 2016, 09:19:17 PM »
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: 2278
    • View Profile
    • jinxtergames
Re: How do you make save functionality?
« Reply #3 on: October 04, 2016, 03: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
    • View Profile
Re: How do you make save functionality?
« Reply #4 on: October 04, 2016, 09:12:25 AM »
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, 09:15:29 AM by dudebxl »

mrminico

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
Re: How do you make save functionality?
« Reply #5 on: October 04, 2016, 10:31:00 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)

I see thanks again for your insight.

mrminico

  • Playmaker Newbie
  • *
  • Posts: 46
    • View Profile
Re: How do you make save functionality?
« Reply #6 on: October 04, 2016, 10:32:46 AM »
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
    • View Profile

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: How do you make save functionality?
« Reply #8 on: November 13, 2016, 10:15:24 AM »
@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
    • View Profile
Re: How do you make save functionality?
« Reply #9 on: November 13, 2016, 10:55:51 AM »
Uploaded previous version 1.0.1beta