Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PlaymakerNovice on October 19, 2015, 07:43:04 PM

Title: Score And High Score System
Post by: PlaymakerNovice 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.
Title: Re: Score And High Score System
Post by: jeanfabre 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
Title: Re: Score And High Score System
Post by: djaydino 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)