Save and Load - Unity Tutorial

  Рет қаралды 6,000

Aaron Hibberd

Aaron Hibberd

Күн бұрын

Пікірлер: 10
@captainufo4587
@captainufo4587 6 жыл бұрын
I believe this is the first tutorial that goes several step beyond just saving the very first variable (even if the concept is the same, it's easier for beginner to see a couple more examples), so kudos! One question, though: any good suggestion to prevent the GameManager class and the save/load methods from becoming scary behemoths? In your example they're already somewhat long, imagine adding other stuff from an actual game (like current scene, other player stats/skills, inventory items, maybe the status of other NPC/interactables in the scene, whatever else) and I can see things getting out of hand and hard to maintain.
@jault01
@jault01 6 жыл бұрын
I was just wondering about this 2 weeks ago. I found the playerprefs, but wasn't sure of the best ways. I haven't finished this video yet, but I have seen your other stuff and am looking forward to finishing this.
@AaronHibberd
@AaronHibberd 6 жыл бұрын
Yea playerprefs isn't reliable, because it gets randomly cleared. So it's just good for saving settings, like music volume
@potatoPs3
@potatoPs3 6 жыл бұрын
Hi Aaron, Im from Argentina so sorry for my bad english. I code in JavaScript and i was like weeks trying to apply this Serialization mechanisms but it was impossible for me to connect my Javascript codes to the C# save code. So im saving my entire game with Player Prefs, using Int variables as booleans (For example, a chest when its closed has a value of 0, and when its open has a value of 1, so if value = 1, the chest will appear opened) For me this Player Preffs mechanisms are working good, what do you think about all of this?
@AaronHibberd
@AaronHibberd 6 жыл бұрын
Well, according to people that are smarter than me. Player Prefs isn't reliable because it can be cleared, and is also easy to edit and cheat. So I would try to learn c#, but it's up to you. Read the top comment here: gamedev.stackexchange.com/questions/113829/saving-players-progress-in-a-unity-game "PlayerPrefs will work cross-platform, but it's not recommended for gameplay progress save files because it's insecure. As a plaintext file, a player can easily open it up and change the contents to cheat, or make your game behave unpredictably. It's also not guaranteed to stay around."
@potatoPs3
@potatoPs3 6 жыл бұрын
Well, it makes sense. I think that for my future games i will save with serialization. By now i want to finish my game like this, i hope nothing happens. Thank you very much for your answer!
@vigneshsree3115
@vigneshsree3115 6 жыл бұрын
Hi Bro, Happy to see you after a long time.Can you make a tutorial on login in system in unity
@ragestudios8620
@ragestudios8620 6 жыл бұрын
You heard my prayers. Thanks!
@owendorsey5866
@owendorsey5866 6 жыл бұрын
Rage Studios lol same
@micheleguardabasso8162
@micheleguardabasso8162 2 жыл бұрын
Hi can you please in a project that i have to found?
Can You Beat Minecraft From One Grass Block?
35:27
Beppo
Рет қаралды 6 МЛН
SAVE & LOAD SYSTEM in Unity
18:20
Brackeys
Рет қаралды 1,1 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Reading Comments
26:37
Aaron Hibberd
Рет қаралды 2,2 М.
I Paid Devs on Fiverr to Make an Open World Game
8:33
Minimunch
Рет қаралды 495 М.
How Do Game Devs NOT Overscope??
9:04
Green Light Dev
Рет қаралды 15 М.
Level 1 to 100 Science Experiments
15:53
Hafu Go
Рет қаралды 19 МЛН
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2,8 МЛН
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,3 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 6 МЛН
SCRIPTABLE OBJECTS in Unity
8:57
Brackeys
Рет қаралды 1 МЛН