playMaker

Author Topic: Score And High Score System  (Read 1615 times)

PlaymakerNovice

  • Playmaker Newbie
  • *
  • Posts: 18
Score And High Score System
« on: October 19, 2015, 07:43:04 PM »
I've been having a really hard time setting up a score and high score system in my game. I'm remaking my game using only Playmaker and I have the code that I used to set up everything but when I try to read my code and apply it to Playmaker, it just doesn't work correctly. Is there any video on this topic I can watch or someone who knows how to go about using Player Prefs and updating the score within the game in real time. I've been finding that my score will only show up at the game over scene, but during the actual gameplay everytime I score a point the score counter text wont change. Then when I replay the score from last game appears until I lose and repeat the process.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Score And High Score System
« Reply #1 on: November 03, 2017, 02:09:34 AM »
Hi,

Please check the the m2h samples, namely the platform jumper, it implements score and high score.

 https://hutonggames.fogbugz.com/f/page?W880

Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Score And High Score System
« Reply #2 on: November 03, 2017, 01:22:57 PM »
Hi,
If you want to refresh something all the time you have to check "Every Frame"

But it's better to update only when the score changed.

Maybe you can show your setup (fsm/states/actions in pictures/gif/video)