Set, Save And Load High Score - Unreal Engine 4 Tutorial

preview_player
Показать описание
Hey guys, in today's video, I'm going to be showing you how to create a high score system which allows you to set, save and load it and only increase it when your current score is higher.
___________________________________________________________________________

___________________________________________________________________________

___________________________________________________________________________

Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
Рекомендации по теме
Комментарии
Автор

I remember when I wanted to add high score into my game I realized that it wasn't working, I was following the tutorial without missing anything, but my high score wasn't working. I tried many other tutorials but no luck. I moved back from Unreal to Unity, now I am happy because the high score is working.

kozmobotgames
Автор

For any watching this now not getting it to work in UE5. Where he has "create save game slot" you then need to add "save game to slot". I'm guessing it was a new/changed function since the video was released. That fixed it for me, and you can find the function in UE docs.

Rilemanr
Автор

Hi Matt, I just wanted to say that I was really struggling to save my project variables until I watched your video, so thank you for the help! I'm not sure how often you check-in on these older tutorials, but just know they're still very much appreciated and helpful

RyanDoone
Автор

Thnaks to the comment section to guide me in the right direction it took me sometime to figure out but for anyone making it in UE5 + you have to use save game to slot function right after you have loaded it (it already exsists) and you have created it (it is the first time) then it will work.

navanshjain
Автор

I figured out my original question, can you do a fallow up such as leaderboard and reset high-score, your tutorials are some of the well step by step if you could

juancarrillo
Автор

The high displays on my games HUD but not on the Game Over Screen. Put in the same binding code into the Game Over Widget as HUD but it's not displaying. Shows in the level Editor but not in game. Any help would be much appreciated.

andrewpalmer
Автор

Niiiice, finally. Thank you so much, this worked perfectly!

DavidBChannel
Автор

trying this in ue5.. and it does not work for me. (followed the video twice) When it checks if excists, its always a no.. even if i then create and save one with a script.. delay it for 5 sec and check again, it does not excist.

exosquare
Автор

hello what is that char REF where it come from?
can you help me please

daddyfox
Автор

matt thank you so much this works perfectly but when i put the gaame on mobile this doesn't work the save and load does not work on android

Med_Sel
Автор

Bro, knows its old but im on discord with this question also now. How would i reset the highscore if starting a new game? my "start new game" button is a widget (mobile game) and my highscore and save logic are in the main character

Si-Toecutter
Автор

hey, awesome video! thanks for sharing this!

yoranfory
Автор

I love your channel .Always solved our prblm wish u will have great channel in future 😊😄🎂🎊🎊🎉🎁🎁🎂

parasyadav
Автор

Awesome tutorial mate... Thanks a lot! :)

jkalnins
Автор

hi matt i dont know if you still read these comments on old vids, but if you do i would like to say a big thank you, you have helped me a lot. one thing that is a bit confusing in this vid though is the variable in the save game and the varible in the character (both called "high score") it is my understanding that these are holding different information, is that correct?

JaxMillion
Автор

Hey, I get this error when I close the pie
Blueprint Runtime Error: "Accessed None trying to read property K2Node_DynamicCast_AsPlayer". Blueprint: Enemy Function: Execute Ubergraph Enemy Graph: EventGraph Node: Set HighScore
when I reopen the game the high score is still 0...

odizz
Автор

Great video but I have a small issue. Tried this in UE5 and it works in the editor but doesn't work after packaging a development build. Any idea why?

anandmenon
Автор

Hi, greetings!

Unfortunately, no one is responding to me, but I dare to ask you as well in the hope of getting an answer because I don't know you, but I consider you a pretty reasonable person! My question would be how I can display all of this on all my levels? I only need to display the score so that the achieved points are shown on every opened level. I can't solve it with the game instance. Could you possibly make a video? Thank you very much.

Best regards,
John

boscojnos
Автор

Can you update this for ue5. It didn't work for me.

Brekson
Автор

I don't have a character ref. Where do I get it?

ishaankhanna