Godot makes saves so easy!

preview_player
Показать описание


---
👥 CREDITS

---
💌 JOIN US

---
📝 CC-BY LICENSE

Рекомендации по теме
Комментарии
Автор

Such a good video. The Godot community is so lucky to have you. Thanks for all your hard work GDQuest.

uheartbeast
Автор



Over the next few weeks, you can expect several videos based on the requests you made in the youtube community tab and on Twitter one or two months ago.
Sales help to fund these videos, open-source demos, add-ons, and contributions to Godot 4.

Gdquest
Автор

"First there's the WRONG way to do it."
...proceeds to describe EXACTLY how I was considering tackling it.

LOL no idea what we'd do without you, GDQuest! :)

ArcangelZero
Автор

I'm struggling a lot with that! Thanks for simplifying it! (beginner here)

andreasaugusto
Автор

"What you need in EVERY GAME is to save player's progression"
Rougelike: Am I a joke to you?
Fighting: Am I a joke to you?
Arcade Shmup: Am I a joke to you?
Puzzle: Am I a joke to you?

davymachinegun
Автор

Thank you so much for this, I would love to see more vids like this one, especially on shaders, and cool effects !!

msabyss_
Автор

You’ve returned!

I ADORE the app but I was missing these videos for sure too!

Gredran
Автор

Thanks for this introduction! With this new knowledge ive made a map saving system without having to track 50 variables, so long as i dont put anything unnecessary in the Save

dairyfreelemonstreams
Автор

I'm glad you're finally tackling resource saves. They seem cleaner than the other save game options, but I've been putting off dealing with it because I knew you would make a video eventually! I know it's a cliche, but your videos really do make game development seem easy.

greygoogone
Автор

Great video!!! I like this 2 minute format as it is quite useful for learning how to use Godot features quickly

dhombios
Автор

Thank you really much for the video, i had been doing it the JSON way and using resources will make it much easier, especially for more complex games i want to do in the future.

Nayckron
Автор

Love this -- I think you just saved me a ton of time, like, weeks of building save and load systems that rely on json to manage all the inventories and such that my game will have / tracked saved data overall.

SideQuest_Obsessed
Автор

Imo JSON is the right way since it’s safer than the the resource way.

JSON is only a text file but the resource may contain scripts that godot will run without knowing if its safe

neatrealms
Автор

One thing to note is that you cannot use any custom extension you want when using this method. I was using .lored (because LORED is the name of my game) when using my old saving method, and found that when using ResourceSaver, you must use .res or .tres as the file extension.

dills
Автор

looks neat, this sounds like a vulnerability to arbitrary code execution within the game. what is a solution to avoid loading attached scripts and similar in a Resource?

Wilker_uwu
Автор

Jaw dropped the moment I saw the amount of code it took to save the game

Based
Автор

Isn't there a risk of vulnerabilities using resources?
Like someone could upload a virus to a save and then share it online for others to load their save and then spread the virus?

adamcolejones
Автор

This video is really helpful, but I have a few issues/questions

1. What is the "resources" node and where do you put it? The closest I found was "ResourcePreload"
2. Do you create the .tres files yourself? When I type in the .tres file for a scene, it just errors.
3. Do you manually create the savegame.tres file or does the script do it for you?
4. How do you get sprites from other parts of the scene to interact with variables outside of the sprites? At 1:02, the scripts on the right seem to be in the Resource parent. The scripts in my game are scattered about the scene

pixelstudios
Автор

ok so the first line in the video description just says that you add ace...

villagerzock
Автор

insane, i was just thinking about adding this feature and you guys make a video on it, thanks

kayceecomix