High score

I got PLAY button working by resting my Coin Widget back to (00) at the beginning of the game. Before the Coin Count from previous levels didn’t reset to (00) when PLAY button was pressed. Not it works OK by resetting the score to (00) when PLAY button is pressed.

Now the problem is that highest Coin Count don’t stay anymore and it’s replaced with reset (00) Coin Count which overrides the Highest Coin Count. How would I set it up so the Highest Coin Count is recorded at all times regardless when pressing PLAY button.

Make sure to store Highest Coin Count in your Game Instance, because the Game Instance is the only thing that isn’t reset when you load a new level.

HI again Clean Cut. Thank you for the answer.!! What you suggested before about putting Coin Count and set it to (0) works Great. Do you mean Coin Count or Coin Bank. I know my Coin Bank is stored in my Game Instance. Coin Bank is the one which is stored in my Game instance. Do you mean I should store Coin Count in my Game Instance as well?

If you want something to stay after loading a level, it should be stored in the Game Instance.

You could also use a SaveGame

It is saved in the Game Instance but remember we are resetting it with on button pressed. Once reset it becomes the new Game Instance data stores. Which in return I loose the Highest Coin Count stored in the Game Instance. What do you think Clean Cut??

I think I tried save game but it’s not something that works well. I need it to automatically save on it’s own without me doing it. The same system like Pack-man or Galaga. High score shown at all times in main menu. When you press play it goes back to 0 and start over again. If you achieve Highest Score then it’s show in main menu.

You need to store your high score in a different variable than your current score.

Clean Cut!!. So I got the Variables set up and all but the problem is that what ever coins I collect in the game the coins are just adding on top of previous Coins Collected. So If i get 10 coins now then in next level I get 5 it will up date the High Score to 15. lol. How do I fix these properly. Seems kinda complicated. Thanks for you patience!!

What I’m trying to say how to tell Game Instance not to add Coins to High Score and instead don’t add them unless the current Coin Count is higher the the High Score. Thank’s for you Mega Patience Clean Cut!!!

Use a branch node to only set the high score when you want to.

Clean Cut Your the Man!!! Thank You!! Sorry for late reply. These is Definitely the answer I have been looking for. The only reason I know these because of Mathew Wadstein ue4 tutorials on YouTube. I came across him and I had to ask him. I have to say You guys really Kick ■■■. Clean Cut do you have any games for download on Google Play or else were. Let me know I would like to see what you and your team are working on. If you have any mobile games for download I would like to purchase it for sure. Also do you know of any places besides UE4 Marketplace where you can download ready made game templates. I’m more in to creative part and not so much in to technical stuff like you are. All of these technical stuff is rocket science to me. Cheers.

Thank You Clean Cut!! That’s exactly what I have been looking for!! Thanks for taking your time to answer my questions. Once I get these to work I know that my next question will be How do you save High Score and loaded back up after you turn off the game fully. Is there some kinda short answer to these? Also Thank You for taking the actual pic of Blue Print. Also Clean Cut do you have any mobile games for purchase on Google??

Also Clean Cut. I’m not sure where to put these. On Event Begin or something else. I Actually have Highest Level and Highest Fruit completed, collected. Here is my Blue Print you suggested but like I said these noob doesn’t know where to put it. Could you check my Blue Print before I seriously start ■■■■■■■ you off and see if I did it right. Mega Thank You!!!

Jesus my Comment are not Saving for the third time now.
Clean Cut. Here is my Blue Print but not sure where to connected and to what. Would it be On begin play and would I put it in my Game Mode. I did put it in game mode but my Regular Score and High Score are still adding together. What am I doing wrong?

Keep up the good work with your games. Must be fun specially when you already know how to use UE4 well. Cant wait to try your games out specially Topple Town. I will download instantly when it’s ready!!! For now I have to get the dam score working. Got a lot of work on my hand because the way whole thing is hooked up. Thank You for the answers!!! Cheers for now…

Regarding where to hook up your nodes:

You would want to call those nodes when your amounts of coins changes. The cleanest way would be to find the place where you process getting a coin. Or, you could just do it in Event Tick, which will check every tick. Not as clean, but works just fine.

Regarding saving/loading:

See the Saving Your Game documentation.

Regarding my projects:

See Agile Perception – at the moment my only published mobile project is the free game Jump Jump Fall – soon Topple Town will be available for iOS/Android – which will be my first for-pay published project.

Clean Cut. I was wondering if you know anything about Automation tool error when packaging. It’s really put my project on halt right now. Not much information on Answer Hub but to Verify reinstall Visual 2015 with custom settings. Maybe I missed something during the installation. Clean Cut HELP!!! Also thank’s again for High Score info. I’m rewiring my blue prints right now. Thank you again!!!

For additional problems, you should really create a new AnswerHub post.