Never knew this could be so simple, just a few lines of code for such a valuable feature. Always learning the most from Bmo
@faiazbinnesar29372 жыл бұрын
Man, you are like my guru. Recently I've been following all your vids and this is exactly what I needed now. Thanks!
@basedlegitАй бұрын
thank you so much!!!! It's so simple!!
@christio02 Жыл бұрын
This was really simple and easy to understand! Thanks!
@sogyshorts56622 жыл бұрын
Amazing BMo tutorial, it definitely helps me, for my game...
@VladaPersonal2 жыл бұрын
First! Keep up the uploads!
@RuthlessMetalYT9 ай бұрын
I make an asteroids game does this work the same way? I use a score and not collecting coins. I don't understand anything. :S
@BlanimeStudios Жыл бұрын
How do you get this to show up in the next sceene being a leaderboard?
@vincentproud6589 Жыл бұрын
Keep seeing tutorials for PlayerPrefs, but don't these reset whenever there's an update and are also very easy to edit?
@jesperingo Жыл бұрын
Thamk you for this easy tutorial! Love you man
@fredsurj96872 жыл бұрын
It works, thanks for the lesson
@Pflaumenpflucker2 жыл бұрын
Best Tutorial EVVVVVVVVVVVVVVVVVVER!!! Thank you
@dkordy2 жыл бұрын
hello, can you tell me how to add -score- to highscore through the code, but not only when the score is higher than the highscore! I made a game so that on main menu shows a high score - and when I start the game, my score is always reset to zero. and I want that when I collect the scores during the game, they are automatically added to the highscore from the main menu. I can't possibly set it up in the code to do it because none of you on you tube explained something like that. my highscore is raised when my score is greater than highscore. but I don't need that!
@sann35285 ай бұрын
Thanks for the tutorial. How can I reset the high score??
@Whimery8 ай бұрын
How do you make it dynamic
@Stompin402 жыл бұрын
Oh wow this was really interesting.
@brady9621 Жыл бұрын
Serializefeild textmeshprogui highsore text array size can not be specified and force unity to serialize private feild
@ShameTV2 жыл бұрын
Can you do some simple Objective system? Like you collect some coins and then next objective pop out and you have to walk to a door in 2D will be fine... idk how to make it through bool or something? cheers
@mshroom6391 Жыл бұрын
Hello i have little problem that i cant choose any text with CameManager script Can someone help?
@zippsterstudios2 жыл бұрын
Newb question! I have never seen that syntax that you are using here where you are using += and -= to a function. I suppose it does not help that I have not experimented with events yet in Unity (no idea what these are yet!).
@CaptainAaravАй бұрын
not related but when my score goes over 10 it resets to 1 and dosent change. please someone help
@BMoDevАй бұрын
What's your code look like?
@_Cobay Жыл бұрын
very helpful
@aledario18 Жыл бұрын
Does it work with Builds?
@13579fastWhach2232 жыл бұрын
Thanks a lot
@williamrowans39682 жыл бұрын
Hell yeah!!!!!!! Thank you so much! Subscribe, like and notifications on!!!!
@OmeedNOuhadi Жыл бұрын
👍👍👍
@matanmcАй бұрын
man yapped straight 2 mins start from here 2:00
@lucutes29362 жыл бұрын
a
@chicken7sandwich228 Жыл бұрын
i copied exactly as the tutorial said but when i finished it, it stayed at 0... i have: public void addscore (int scoretoadd) { if (birds.birdisalive == 1) { playerscore = playerscore + scoretoadd; Scoretext.text = playerscore.ToString(); popsfx.Play(); } in another script its basically when i pass the trigger is addscore(1); And that adds my score up no worries. I also have from this tutorial: void Checkhighscore() { if (playerscore > PlayerPrefs.GetInt("Highscore: ", 0 )) { PlayerPrefs.SetInt("Highscore: ", playerscore); } } void UpdateHighScoreText() { HighscoreText.text = $"Highscore: {PlayerPrefs.GetInt("Highscore: ", playerscore)}"; } i fed the text object into the script component. it all went smooth but yeah i dont know.
@homeofgamesmeme52426 ай бұрын
same issue!!! the script working fine and it is storing the highscore in the back side but the highscore text "0" stays the same....can you help?