Hi, I have a distance based endless game with coins reward. Also I use checkpoints on each level to allow player continue playing from last checkpoint after being defeated. The problem is that when using Restart checkpoint the coins amount are not reset to 0 value. Further more after restarting a game - the coins amount still equal to amount from the last checkpoint. Any tips how to reset coins amount at least on a game restart? I use BB 2.2 version. Thanks
It should be like that. Are you sure that you wrote what you mean?. Normally in games after clicking restart checkpoint coins and distance remain same.
Yes, for the restart checkpoint it's ok. But after restarting a game the coins value still the same as for the last checkpoint. UPD: So the logic scheme is: Restart checkpoint (coins and distance both has the last checkpoint value and it's ok) - then defeated - then Restart a game (distance reset to 0 value, but coins value still as for the last restart checkpoint)
Ok, found the solution. Cannot explain why it works so, but it does: Switching the "World" property value for coins current session label from "All" to "Current World" makes the label value reset to 0 each time Restart checkpoint or Restart game choosed.