playMaker

Author Topic: How to save (stage/Level/score/Item/ect.) with playmaker?  (Read 2602 times)

sanagunx

  • Playmaker Newbie
  • *
  • Posts: 1
How to save (stage/Level/score/Item/ect.) with playmaker?
« on: July 27, 2016, 12:43:46 PM »
First of all, I'm very weak in programming. I can only use playmaker for make my game.

Now I have a problem to save game with playmaker.
I try to search a solution,
some said use array or playerpref.
but I don't know how to use array and playerpref.

I'm also search a lot of document that explained about array and playerpref but with zero programming skill I had,
I still don't know what is it and how to use.

could you please teach me step by step how to use array and playerpref?
(easiest and slowest as you can, please do not underestimate how stupid I am)
what is array and playerpref and how to use?
have any example project?

I'm struck with this for 3 days and no solution yet.
you're my last hope, Please help me.
« Last Edit: July 27, 2016, 12:45:42 PM by sanagunx »

Sid

  • Playmaker Newbie
  • *
  • Posts: 32
Re: How to save (stage/Level/score/Item/ect.) with playmaker?
« Reply #1 on: July 27, 2016, 06:34:13 PM »
Try out the Actions category called PlayerPrefs.  You can save and retrieve variables this way. 

Intro to using Arrays in Playmaker 1.8.x by the excellent mdotstrange:

PET

  • Full Member
  • ***
  • Posts: 139
    • GamerPET
Re: How to save (stage/Level/score/Item/ect.) with playmaker?
« Reply #2 on: July 28, 2016, 04:33:33 AM »
You can also try Easy Save from the Asset Store. It's pretty great!
Technical Game Designer
www.GamerPET.com

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Re: How to save (stage/Level/score/Item/ect.) with playmaker?
« Reply #3 on: July 28, 2016, 04:59:12 AM »
i use Mad Level Manager (asset store) very easy to use.

PET

  • Full Member
  • ***
  • Posts: 139
    • GamerPET
Re: How to save (stage/Level/score/Item/ect.) with playmaker?
« Reply #4 on: July 28, 2016, 05:06:07 AM »
i use Mad Level Manager (asset store) very easy to use.

I think that he wants something different. From what I understand he want to shave the informations of a level into a file. With Easy Save that has PlayMaker interaction, you can specify what variables you want to save to a file, and when you execute the save function those values will be stored into a file (that can also be encrypted).

Then, you can have a load function that will basically restore the saved values to the ones saved.

It's a classic Save/Load function. Mad Level Manager seems like something different.
Technical Game Designer
www.GamerPET.com

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How to save (stage/Level/score/Item/ect.) with playmaker?
« Reply #5 on: July 28, 2016, 06:44:17 AM »
Hi,

playerprefs are simple to use.

with playerprefs "set" you can store a variable into a key, on to the local machine
and with playerprefs "get" you can get the value from that key in your game.
But playerprefs is easy to hack and has limits.

there is an asset called Easy save which uses encrypted keys and has playmaker actions.

if you want to learn array maker you can find some tutorials here