Hey everyone! Glad that you guys like the video :) Some of you are asking about security. Now PlayerPrefs is in no way secure. It is easy to read and modify values if you know what to search for. Of course you can do your own encryption before storing data through PlayerPrefs but I just found this free Asset Store plugin that works in pretty much the same way as PlayerPrefs but with encryption: www.assetstore.unity3d.com/#!/content/32357 Hope that was useful to you :)
@drowsy53847 жыл бұрын
Brackeys encryption would be much easier with BinaryFormatter or XmlSerializer (I really prefer the first one) and also it's impossible to store anything but strings ints and float with playerprefs
@commentcommenter41987 жыл бұрын
Brackeys Hey brackeys. I really love your new tutorials! They are much shorter and understandable than your older ones? Will there be a chance of you making a new tutorial for a 2d platformer? I'm not fond of the old tutorials because of their length and I don't like your teaching style before. I'm also really glad you speak less inconsistently with no more "uhhh" in the vids
@Blackthornprod7 жыл бұрын
You can also add bools with player prefs :)
@gempio26345 жыл бұрын
@@drowsy5384 If you can store strings, you can store serialized data like jsons or xml.
@noghost67974 жыл бұрын
Dude. I don't know how i adding Numbers. I mean *plus* . It's not working, and was to ask you in the comment seqtion.
@peterpeperoni71024 жыл бұрын
The real question is: How did Brackey learn to code when there were no Brackeys videos?
@rahulsbhatt4 жыл бұрын
Top 10 questions scientists couldn't find an answer to.
@akashroy47474 жыл бұрын
documentation and documentation
@VioletDolphin4 жыл бұрын
Maybe He already knows C## before he was born...
@VioletDolphin4 жыл бұрын
@@informalmods6044 LMAO
@TheAlphaTeamPlays4 жыл бұрын
Brackets invented code
@Dragonhawk2322 жыл бұрын
This is years later but in case anyone else is going through this old playlist learning unity, my unity by default uses TextMeshPro instead of regular Unity text, so a slight change I had to do within the Dice script was adding "using TMPro;" and then instead of a regular Text class you do "public TextMeshProUGUI score;" might save someone else the time I had to spend googling :)
@Dragonhawk2322 жыл бұрын
same thing with the highscore, had to do "public TextMeshProUGUI highscore;" to get it to let me slot the TMP into the component
@Bossdonlawat2 жыл бұрын
@@Dragonhawk232 Thank you very much sir!
@b1llspc Жыл бұрын
Bless. Just had this same issue, wish I saw this first lol
@nirajtoysworld90510 ай бұрын
yah
@wehh17 жыл бұрын
"I like living in the edge so ill just do delete all" - Brackeys 2017
@nubcops2205 жыл бұрын
not funny :/
@iteratedofficial4 жыл бұрын
@GigaramsYT yeah
@sh0unakgg2744 жыл бұрын
Dio
@gaycat5994 жыл бұрын
Why do people give dislikes?!! This is literally FREE education!!!!!
@dev.prateek57814 жыл бұрын
jealousy, i guess ?
@K0BRAKID4 жыл бұрын
I was expecting a tutorial on how to save it to disk for the next time I launch the game. But his dance at the end made me take back my dislike into a like. Honestly I love this dude I couldnt dislike his video.
@zzzinga4 жыл бұрын
@@K0BRAKID but this is exactly it lol
@BrentMurrell4 жыл бұрын
Dislikes don't always mean someone didn't like the video. I think people often use the thumbs down to tell KZbin what they are interested in when new videos are suggested or autoplayed. Because of that, I think a certain number of thumbs downs are unavoidable.
@mossupergamer19124 жыл бұрын
H -Having A - Anger T - Toward E - Everyone R - Reaching S - Success ^ That's why
@trill93417 жыл бұрын
I was just about to go to bed....but who needs sleep. Love your videos btw, you are helping me fullfil my dream
@Brackeys7 жыл бұрын
Thanks a lot man! Glad I can help :)
@moric46776 жыл бұрын
@james matthews HUG
@parthudawant70155 жыл бұрын
@@Brackeys Can you please tell about the resources you used to learn game development or some of the best books that must be read to learn game development and to achieve such great expertise like you have achieved ? Please reply!! Keep up the good work!👍
@Mikewar12304 жыл бұрын
I just subscribed because 4/5 times when I am looking for a tutorial or explanation on something, your video shows up first and it's almost always the most brief but concise tutorial out there. Thanks man.
@Doctrine605 жыл бұрын
Who does not smile while watching Brackey's Tutorials.....this guy is awesome.
@GameOver78537 жыл бұрын
That ending tho
@yoctometric7 жыл бұрын
your tutorials are the perfect mix of learning from mistakes, quick comedy that adds to learning instead of taking away, and concise teaching. You have this down to an art, and I can't thank you enough
@matheusmachado50387 жыл бұрын
Just what I needed! (read in Mario's voice)
@forexalised90537 жыл бұрын
I changed my UI view to world space (was messing around) and rotated the UI and made it look all 3D :) Made the button a PNG of a Dice and added animations to the button to make it grow slightly larger on highlight, be slightly smaller on click/click hold. All in all, your tutorials are amazing and through them, I've been introduced to being finally able to just mess around with Unity and code :)
@peeei74233 жыл бұрын
this man makes me feel so smart with his tutorials, thx and goodbye brackeys
@neckudart2727 жыл бұрын
this is the best unity channel ever .
@gamedev_navneet3 жыл бұрын
Brackeys always makes me understand things very simple. Thank you.
@toonzelda33532 жыл бұрын
Your video helped me out with a Unity assignment where I had to get the best race time :). I used exactly your algorithm and it helped me out! I don't know if you will see this comment Brackey's but thank you. You won't believe how much your videos have impact me and many others studying gamedev.
@benjaminmartinez41595 жыл бұрын
Thank you sooo much! I looked at other places for this information, but you're the only one who gave it out so simply.
@funkymonkey159634 жыл бұрын
It's taken me days to get thru this series and then onto this vid. troubleshooting and the like cause Im kinda slow. but man it was all worth it to see Brackey do that little jig at the end!
@tristanarnold2326 жыл бұрын
Thank you for all your videos! I am new to game development and you are really helping me learn fast. I am able to quickly learn core concepts, then experiment and expand on my own. Very well put together!
@abdulrhman-noor_20106 ай бұрын
THANK YOU SO MUCH MAN
@sinakamali32975 жыл бұрын
Best instructor EVER!!!
@thefallenlime3 жыл бұрын
This was by far the easiest video to follow for this. Thanks a ton!
@pruthvi47034 жыл бұрын
Thanks Brackeys, this always helps me out when I'm struggling to make a high score feature.
@valdak5277 Жыл бұрын
Thanks a lot, this was really helpful even 6 years later!
@eze-rivals6 жыл бұрын
Good tutorial! If you are making a larger game though, you may want to use encrypted or binary variables, but this is great for quickly making highscores!
@braindamagecontent Жыл бұрын
it's been more than two years... brackeys is still coming in clutch lmao
@shazwanabdullah92763 жыл бұрын
Thanks Again Brackey’s. You bring inspiration to all of us 🙌🏽
@Oxmond4 жыл бұрын
Sweet! Great tutorial! ...and awesome DANCING! 👍🤓🧡
@jacedaniels18126 жыл бұрын
Dude you have no idea how helpful and easy to learn this was! Thanks alot! Cheers!
@aleksandarvagner98267 жыл бұрын
Will you please make a leaderboard tutorial?
@seunn7 жыл бұрын
yaaa
@jole07 жыл бұрын
Richard Wagner Then you need to connect your game to for example Google Play services
@LoadX3217 жыл бұрын
not really, you could have a leader-board like that on arcade machines.
@Illu077 жыл бұрын
Sebastian Lague has a great Leaderboard tutorial for unity. Check it out.
@ResoCoder7 жыл бұрын
Really the best thing you can do (at least when targeting Android) is to use Google Play Games Services. It's simple and awesome!
@hansaldrinantonio13316 жыл бұрын
Thanks Brackeys!!
@dealvik7 жыл бұрын
I like the short tutorials and all, but I really wish that Brackeys would make a game tutorial series's like he used to.
@vpeter563 жыл бұрын
Anytime you find a Brackeys video, you know you feel safe with your last minute projects.
@Rob-fi2pe2 жыл бұрын
You are a life saver! I knew WHAT I needed to do but you showed me HOW. Thank you, thank you, thank you!
@ChickenSwek7 жыл бұрын
Haha 8:30 great video!
@Победник7 жыл бұрын
ChickenGaming Hahah, new meme...xD
@eliasfelix72057 жыл бұрын
ChickenGaming uuuugh
@diegocrusius7 жыл бұрын
lol
@V.Z.694 жыл бұрын
Thank you! I should have started learning Unity a long time ago. Losing AS3 on Flash was a huge setback for development solitary developers like myself. Back on the horse to make some extra income!
@DevRightms7 жыл бұрын
whooo ! that dance at the end made my day ;)
@ShirshKhandeliaSKJ4 жыл бұрын
I literally was paused just before it to read the comments, and went back to see the "dance at the end". It hit me right in the face! 😂😂😂
@santoshpss6 жыл бұрын
I really like your forced smile in every video :) Edit: I really do, it really makes the video more enjoyable, but don’t force yourself :)
@mammut42647 жыл бұрын
Your videos have helped me alot. I am almost done with my second prototype now!
@WatchingTokyo7 жыл бұрын
To make a high score in Unity you just need to beat everyone else at it!
@jarnovanderzee24697 жыл бұрын
Gui lol XD
@BeerfootBandit7 жыл бұрын
Gui u just solved my problems bro thanks🤘
@direcahsyahira__6 жыл бұрын
lol
@Term1nus3st5 жыл бұрын
This is great for saving sensitivity in mobile apps. Thanks a lot
@CarlosHasAIdea5 жыл бұрын
man really enjoy your vids
@ВојаПараноја4 жыл бұрын
Thanks legend, realy helped with my first game, hope you come backone day
@Kusaji6 жыл бұрын
Great explanation of PlayerPrefs and how to use them. Thank you.
@kgibbsy5 жыл бұрын
This is exactly what I'm looking for. I need a very simple level unlock system an I can amend this script slightly for that exact purpose. Thanks Brackeys!
@khankhalik21886 жыл бұрын
Superb dance in the end!
@george99737 жыл бұрын
Great tutorial! Thanks
@hjc17104 жыл бұрын
My man! Another great tutorial.
@b1llspc Жыл бұрын
Hey folks - I'm gonna save you some time, ready? If you can't drag Score text into the GameObject for the script, here's why: "Text" is no longer in use by Unity. it's TextMeshPro / TMP now. You'll want to update this code accordingly: // add this in up top using TMPro; // and instead of using the public Text score, change it to : public TextMeshProUGUI score;
@Acidpop Жыл бұрын
i owe you my life
@meehdrescher3 жыл бұрын
In my opinion, this is better than the save and load system video.
@foreducation4083 жыл бұрын
this is soo awesome, I was searching for a way to implement the high score feature in my game, this one helped me.
@dcry10032 жыл бұрын
hey i have a question, when using playerprefs does the highscore also get saved *(it still gets displayed in the chosen UI text)* when you exit your game and enter again?
@foreducation4082 жыл бұрын
@@dcry1003 yes
@Moshugaani5 жыл бұрын
Thank you very much! It was quite simple in the end.
@EndexPlay5 жыл бұрын
great video!
@jb9480 Жыл бұрын
Thank you so muck for all your great videos
@harshalsingh75677 жыл бұрын
great video, nice dance too
@koofe04 жыл бұрын
Asbjorn : Rolls a dice with 7 sides LITERAL MATH : Am i a joke to you?
@mu6tu4e7 жыл бұрын
Awesome tutorial man. Thank you!
@mirianchavchavadze74945 жыл бұрын
That ending :D lovely.
@wannaberickistevens4 жыл бұрын
such an amazing video. has everything i needed.thanks!!
@vaibhav42152 жыл бұрын
Thank you so much ❤
@gabrielesimoni66845 жыл бұрын
thank you! very clear tutorial
@blind_neighbourhoodNerd5 жыл бұрын
Thankyou so much!
@SpeedirX6 жыл бұрын
I love you man!!! Best tutorials ever! Hugs for you!
In the future, when I will gain money from game development, I think brackeys should make a whole video about my support on patreon 😂
@naku28044 жыл бұрын
what
@impheris6 жыл бұрын
Bro, you Are Amazing... keep your work...
@BeerfootBandit7 жыл бұрын
I think Unity should recruit brackeys for those unite speeches they have at those conentions or whatever they are called because he is a pro at this. I learned alot from the vids keep it up👍👍👍👍👍
@BeerfootBandit7 жыл бұрын
Conventions*
@lassewierowski19474 жыл бұрын
Thanks brackeys that was very helpfull!
@Pottsy7 жыл бұрын
Great Tutorial man!
@Capnarchie7 жыл бұрын
when do we get multiplayer ingame chat tutorial for games
@mracipayam4 жыл бұрын
You are my hero man
@victorfranky22454 жыл бұрын
Thank you so much, this helped me alot! 👍👍
@SmartBunnyTuts6 жыл бұрын
Thanks a lot........Finally I Understand this High Score thank you Sooo much!
@divsyntax97203 жыл бұрын
These "Playerprefs" remind me of Android "SharedPrefs" and just as easy. Thanks! :)
@TacticsTv7 жыл бұрын
Nice video 🔥👌
@still_adrian7 жыл бұрын
The end I looked at 5 times because I thought that I was dreaming.
@Steve187953 жыл бұрын
Legend has it that he later closed brackeys and started his professional dancer career 😂
@tadeuvi6 жыл бұрын
I love this man
@bip9017 жыл бұрын
1:36 both Unity wiki and this little popup box says that the max number *is* INCLUSIVE...
@loliqueen90767 жыл бұрын
Liked for that ending.
@aryamansingh88266 жыл бұрын
exactly what I was looking for
@BlurryStarrs9 ай бұрын
How would you make a best time? Basically a countdown timer in the game, and then the fastest 3 scores on the game over menu. Can't find it anywhere on youtube. Love Brackeys tho, he almost always has the info I need!
@hahahpizza7 жыл бұрын
This is so neat and simple, thanks. One thing I wanna ask is, What if I want the prefix before the text like this: High Score: "the PlayerPrefs value".
@zinebhalwi75107 жыл бұрын
then you should put this code inside the for function: PlayerPrefs.SetInt ("HightScore", number); highscore.text = "Hight score : " + number;
@rakharuan4 жыл бұрын
@@zinebhalwi7510 and .ToString()
@lucaazogamer55114 жыл бұрын
Thank you!
@GuilhermeAkuro7 жыл бұрын
great video thx
@MoshiGamePlay6 жыл бұрын
Great tutorial! How would i go about creating a top 10 personal highscore instead of just 1. I also struggle to carry over my current game score to my game over screen. Thanful for any sort of guidance.
@echilateral44976 жыл бұрын
NullReferenceException: Object reference not set to an instance of an object textscript.Start () (at Assets/scripts/textscript.cs:13) :(
@anotherrandominternetperso49944 жыл бұрын
I know, you have already fixed that, but the answer is just for anyone else, who has this problem and is scrolling through the comments: An NullReferenceException means, that your you havn´t referenced your Gameobject in the Inspector. In this case, you just have to drag the Text Object into the slot in your skript. This is shown in 1:15 of this video. Have a nice day!
@dp65017 жыл бұрын
Thank You very much, you helped me a lot
@ZeroSleap6 жыл бұрын
Question,isn't it more convenient in our case(handling text objects,as strings) to use .GetString instead of .GetInt?
@narf-rule17 жыл бұрын
But I like living on the edge so I’ll type delete all. Hahahahaha you are the best! Very helpful.
@gamingstudio836 жыл бұрын
Thinks Brackeys I worked for me and i learned something.
@curt884697 жыл бұрын
thx for shared!
@robinchmelik25227 жыл бұрын
Thank you very much. Save a lot of time...
@omarjribi56876 жыл бұрын
thanks brackeys , would you please make a tutorial about leaderboard !
@tesil1237 жыл бұрын
As always video! Could you make one about damage text popup? Have the damage popup when you hit the enemy in the tower defense game.
@adamsabdulmajid95437 жыл бұрын
you are the best...thanks
@badbuilding3957 жыл бұрын
Hey, when multiplayer game is up to the public, and a lot of people host a game, will the dev have to pay more?
@philunityunreal72285 жыл бұрын
I have a question about "PlayerPrefs" . I lean from this video that it is skillfull for the highscore by saving int, float, etc by using PlayerPref.SetInt, PlayerPref.SetFloat, etc. Is it a way to do the same for an array? (int[ ] tab) Thanks for your attention and greetings.
@PACO60937 жыл бұрын
Hi there!, how can i link the score data from your video "SCORE & UI - How to make a Video Game in Unity (E07)" instead of the RollDice?
@Muaaz-263 жыл бұрын
same thing im tryna do
@vulpesvulpes15577 жыл бұрын
Hi Brackeys can you make video about character animation(walking aiming running) and weapon menu selection Pls. Sorry for bad English