playMaker

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

PlaymakerNovice

  • Playmaker Newbie
  • *
  • Posts: 18
    • View Profile
Score And High Score System
« on: October 19, 2015, 04: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: 12342
  • Official Playmaker Support
    • View Profile
Re: Score And High Score System
« Reply #1 on: November 02, 2017, 11:09:34 PM »
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: 2258
    • View Profile
    • jinxtergames
Re: Score And High Score System
« Reply #2 on: November 03, 2017, 10:22:57 AM »
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)