Unity 3d Tutorial: Saving and Loading Game Data - Part 1

preview_player
Показать описание
This demonstrates ultra-basic saving and loading. A future video will demonstrate a more complex example.

Play the game:

Download the project source:
Рекомендации по теме
Комментарии
Автор

By far one of the best video tutorials I've seen.
So clear, perfect pace, logically explained, and kept simple.
Great work man, I wish I had known about these sooner.

MKBergins
Автор

I got to say that I love how you make these tutorials on the fly and (what seems to be) pretty unscripted. You always cramp in small side notes, like the dropbox info in the beginning. Tasty!

johaneriksson
Автор

Never mind, I got it to work, thank you!

NapKat
Автор

It certainly sounds to me like you should probably be using an actual server to do this, especially if you want matchmaking of any kind. You may want to google "Unity Master Server" to start.

Depending on what kind of game you're making, you can also have Unity send and receive data through a more simplified web interface via the W W W class -- this may be ideal for doing something like submitting/retrieving high scores and such, without needing a connection to a "true" multiplayer server.

quillcreates
Автор

Hey, quill! I just have one question that may or may not be related to this video. I'm working on a multiplayer game, doesn't really matter what kind. Right now, I'm doing the lobby and I'm thinking of making it like an MMO where you have like your profile and stats and similar stuff, and then just jump into a game by pressing a play button. And my question is (more of advice) should I make that lobby online on a server or should it be like singleplayer and player is only online during a gam

Telladriel
Автор

Gross, I forgot I ran out of fountain drink and went to take a drink and got a mouthful of melted gas station ice.

snakeboyable
Автор

Is this old at all? I got a compiler error trying to make a menu.

NapKat
Автор

Are there any other ways of saving and loading game data?

matthewjable
Автор

If the lobby is singleplayer, then I would use PlayerPrefs to track his stats like victories and defeats or whatnot. But the problem here is that PlayerPrefs save thing on your computer so you wouldn't be able to play on a different machine. On the other hand, I'm not sure how safe it is to connect Unity with my server.

Telladriel
Автор

Is there a way to save the data online? For instance, I am creating a chat bot that will learn from the user, however I need to save the data the bot learns online so it can use them in conversations with all users. Could someone explain how this would be done? To make it more simple, I could save them to a file on my Google Drive, I just need to know how to get the data saved there...

hawksandwich
Автор

Can i save and load "int" values ?

nicatquliyev
Автор

does anyone know a saveing with unity serializer in JS tutorial...

daveb
Автор

please rell me how to save a game in desktop

killerman
Автор

Can i save and load "int" values ?

nicatquliyev
visit shbcf.ru