playMaker

Author Topic: refill lives query  (Read 1172 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
refill lives query
« on: June 30, 2016, 10:36:04 AM »
Hi

I am starting to build a refill lives FSM which needs to behave like Candy Crush does, where the players lives will increase by '1' over a set period of time, but instead it will only start this when the players lives are at '0'.

Is the best way to store the 'current time' against Player Preferences and then do a 'get time' from this and then compare the current time and add the Int variable accordingly?

If a person force quits the app then is there a way to still save the date/time they left?

Nick