playMaker

Author Topic: Save game  (Read 1325 times)

TBrayner

  • Playmaker Newbie
  • *
  • Posts: 35
    • View Profile
Save game
« on: April 16, 2014, 06:18:24 PM »
Hi people, I need to know how to save my Score of the game, in a way that when the player closes the app, and after while, come back, the score continues
from where stoped.

My save it's stored in a global variable "SCORE(int)".

Actually I'm trying to use this plugin http://whydoidoit.com/unityserializer/ seems very good, the problem It´s that I'm very noob  :-\

Sorry bad english.

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Re: Save game
« Reply #1 on: April 16, 2014, 06:37:20 PM »
Take a look at the player prefs actions

You can 'set' an int (save) and 'get' an int (load)

TBrayner

  • Playmaker Newbie
  • *
  • Posts: 35
    • View Profile
Re: Save game
« Reply #2 on: April 17, 2014, 06:07:42 AM »
humn, thank you, I'll take a look!