playMaker

Author Topic: Problems with player prefs in WP8  (Read 1792 times)

KrzysztofZuk

  • Playmaker Newbie
  • *
  • Posts: 16
Problems with player prefs in WP8
« on: December 17, 2014, 07:52:30 AM »
Hello, I created flappy bird clone game for android and it's work's OK. But when i trying to develop it on Windows Phone 8 there are problems with my hihgscore (everytime player past area system should add 10 points, but on WP8 when my player past area system give him 20 points and don't add another points :(.

I found here: http://forum.unity3d.com/threads/playerprefs-not-working-on-wp8-phone-at-all.192096/
that everytime script should have to save player prefs after actually change the value, by using "PlayerPrefs.Save();"

LoL, but how to use "PlayerPrefs.Save();" in playmaker ??? :(

EDIT: On unity play mode everything work's good, but when I emulate this game on visual basic 2012 or my Nokia Phone there are problems with highscore.

Cheers!
« Last Edit: December 17, 2014, 08:00:16 AM by KrzysztofZuk »

KrzysztofZuk

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Problems with player prefs in WP8
« Reply #1 on: December 25, 2014, 09:40:27 AM »
Nevermind, I have modified my highscore system and work good on WP8.

Cheers!