How to Make an Online Level Save & Load System in Unity - Part 1

  Рет қаралды 7,069

Zyger

Zyger

Күн бұрын

➤LootLocker: www.lootlocker.io/?...
➤ LootLocker SDK: github.com/LootLocker/unity-sdk
➤ Part 2: • How to Make an Online ...
➤Level Editor Tutorial: • How to make a Level Ed...
➤Assets Used in Video: pixelfrog-assets.itch.io/pixe...
➤Source Code: / 63270193
---------------------------------------------------------------------------------------------------------------------------
In this tutorial I will be showing you how to turn your level editor into something players can save and load. Players will be able to edit a level and then choose whether they want to upload it online. During this process they will give the level a name and a screenshot of the level will be taken. This is then uploaded online to lootlocker. Users in the game will then be able to view all uploaded levels and load and play any of them.
At the end you will have an awesome universal Level Editor download and upload system. That can be changed and easily implemented into your project.
---------------------------------------------------------------------------------------------------------------------------
Source Code: https: / 49266663
---------------------------------------------------------------------------------------------------------------------------
Discord: / discord
Instagram: / gabzxd
Twitch: / officialzyger
Twitter: / zygerdesigns
-------------------------------------------------------------------------------------------------------------------------
➤WISHLIST MY GAME: store.steampowered.com/app/16...
-------------------------------------------------------------------------------------------------------------------------
----Time Stamps-----
0:00 - Intro
0:30 - Setting Up LootLocker
3:32 - Upload Level Manager
10:47 - Saving Data About Our Level
15:15 - Final Unity Setup
16:03 - Testing

Пікірлер: 24
@meeperhere
@meeperhere 2 жыл бұрын
thanks so much, i was waiting for something like this! this will help create my game!
@glitchydemonfairy3171
@glitchydemonfairy3171 2 жыл бұрын
Yes! Finally, I can learn how to make save and load!
@Woodrina
@Woodrina 9 ай бұрын
i love your work sooo much
@XxBobTheGlitcherxX
@XxBobTheGlitcherxX 2 жыл бұрын
Cool stuff, just wanted to share some quick tips for the code : - You can remove many indentations and make the code cleaner if in the loot locker functions you replace the lamdas you write by actual functions. This feels really needed on the UploadLevelData function. - Your function FindSaveableAssets call destroy on previously saved gameObjects and then finds new ones. However the objects you called Destroy on will not be gone yet by the time you call find, as said in unity doc "The object obj is destroyed immediately after the current Update loop". - I did not see the download video yet, but for the text file you save, it would probably benefit using a popular text file format like json and a set up with serialiazable struct or class instead of having arrays of the names, positions. You can then have your json formatter take your serializable struct and create the text file for you, meaning if you want more info on each object saved you dont have too add new arrays and write your own custom formatting everytime.
@bestbotreview
@bestbotreview Жыл бұрын
Do you know if its possible to use an iap to buy tokens then use lootlocker to save their tokens? Im new to unity / c# Been wanting to use playmaker as much as possible but even when i get playmaker apps i find myself still needing to make script lol
@brotherhero1411
@brotherhero1411 5 ай бұрын
On the visual studio i cant find "LootlockerSDKManager" It should turn on green right but mine still white, how can i fix that?....Thanks
@brotherhero1411
@brotherhero1411 5 ай бұрын
2:43
@copycat8725
@copycat8725 2 жыл бұрын
Yes.
@kimacemarquez5064
@kimacemarquez5064 Жыл бұрын
I try your code but I got error when I tried to put the Getcomponent the FindSavable could not find
@ZygerGFX
@ZygerGFX Жыл бұрын
Make sure your naming is correct. It's searching for a script so ensure the name is correct and that it exists.
@Detrax17172
@Detrax17172 2 жыл бұрын
Hi, I've done the first part of the video and I always get not successful in the console, please help me
@ZygerGFX
@ZygerGFX 2 жыл бұрын
if you open up the error in the console what error does it specifically give you? or in the code add this to the debug.log to see what the error is: response.error.
@Detrax17172
@Detrax17172 2 жыл бұрын
@@ZygerGFX in the console I get the not succesfull from the debug.log. I will try your tip later, thanks
@Detrax17172
@Detrax17172 2 жыл бұрын
@@ZygerGFX This is the error from Debug.LogError(response.Error); : Bad Request -- Your request has an error { "success": false, "error": "Platform not enabled: guest", "error_id": "NjIyN2FhYTQ2MDM3ZQ"
@ZygerGFX
@ZygerGFX 2 жыл бұрын
@@Detrax17172 did you enable the guest platform on the loot locker website ?
@Detrax17172
@Detrax17172 2 жыл бұрын
@@ZygerGFX oh I only enabled android ,now it's fixed. Thank you
@hckrs_
@hckrs_ 2 ай бұрын
When i try this i get this error: File content is empty, not allowed.
@hckrs_
@hckrs_ 2 ай бұрын
nvm i solved it. I forgot to assign the tag to the gameobjects
@coffeebean7502
@coffeebean7502 Жыл бұрын
Does it work in a WebGL build?
@ZygerGFX
@ZygerGFX Жыл бұрын
yep should work. some things may need to be changed though
@Jean-by3wt
@Jean-by3wt 2 жыл бұрын
p̷r̷o̷m̷o̷s̷m̷ 💃
@AP-iq4sf
@AP-iq4sf Жыл бұрын
Hello @ZygerGFX or @Zyger Im making a unit android game, and i do something similar as your code and it work in UNITY_EDITOR, but dont work in UNITY_ANDROID, can u help me with few lines of code, and i send you a email...Thx. 🙂
@xezienstudios
@xezienstudios Жыл бұрын
You cannot call this method before an active LootLocker session is started, i get this when i click upload level
How to make a Save & Load System in Unity | 2022
26:56
Shaped by Rain Studios
Рет қаралды 174 М.
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 34 МЛН
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 26 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 161 МЛН
I Made a Voxel Graphics Engine
10:33
Zyger
Рет қаралды 44 М.
I Made a Graphics Engine
6:42
Zyger
Рет қаралды 240 М.
How I Became a Sea of Thieves Developer
8:05
Zyger
Рет қаралды 154 М.
Unity GC2 Create A Game 02: Main Menu + Save & Load
22:13
134 Unity Components EXPLAINED in Less than 30 Minutes
24:01
This is GameDev
Рет қаралды 51 М.
I Made a Graphics Engine (again)
8:27
Zyger
Рет қаралды 157 М.
How These Puzzles Deceive You
15:36
Mental Checkpoint
Рет қаралды 349 М.
ЭРИ КИРИБ ҚОЛДИ 😨
0:15
Hasan Shorts
Рет қаралды 6 МЛН
Каха инструкция по шашлыку
1:00
К-Media
Рет қаралды 5 МЛН
Месть сапсана
0:55
Timminator
Рет қаралды 1,8 МЛН
Заметили?
0:11
Double Bubble
Рет қаралды 3,4 МЛН