Тэги:
#godot #save_and_load #how_to_save_games_in_godot #save_and_load_system #easy_way_to_save_and_load_game_data #how_to_save_a_game_file_in_godot #save_and_loading_game_files_in_godot #how_to_save_my_players_stats_in_godot #save #load #godot_4 #how_to_godot #godot_tutorial #save_and_load_games_in_godot_4 #godot_engine #game_developmentКомментарии:
Thank you so much for this! I started learning Godot a few days ago and this is a huge help.
Quick question; would it be possible to save and load two different types of data separately? Many survival games save characters and maps separately, for instance. It seems like it would be possible, but I'm not entirely sure and don't want to dig myself into a hole.
very helpful! thx <3
ОтветитьI feel like a spoiled kid for even asking this, but I would have loved to be able to copy/paste from your code directly to my project. It's probably not very important for this tutorial, but maybe consider it for future tutorials? Anyway great work! Thank you so much
ОтветитьI think something has changed in Godot since your tutorial came out. I get an error that file.get_var() only takes in a boolean value.
ОтветитьGreat tutorial but quick question. When I add new variables to be saved on an old save file I get an error and I have to delete my data to fix the error. Is there a way to not have to delete my data every update I make to my game? I don’t want people having to delete their data just to play a new version. I am using global variables if that’s an issue
ОтветитьApparently this method doesn't work with variables that are strings.
Ответитьdoes this avoid the problem that using the Resources node/type had that allowed people to run arbitrary code?
ОтветитьDoes godot create a file in the directory when saving data? or it the file created internally which technically won't be human readable? (need to know for a project)
ОтветитьThank you so much for this tutorial, it is way more helpful then the other ones which just blast me with code, and expects me to understand. I really appreciate it.
Ответитьhey THANKS HEAPS, im currently playing around with the FileAcess stuff , I am able to check weather a save file exists and use store_var and get_var to save and load, however when I altar the script and add new variables to save and load it causes an error on load cause those variables dont exist. im trying to find a way to check if the variable im trying to fetch with get_var() currently has data to retreive is this possible does anyone know?
ОтветитьThank you
ОтветитьI have this setup to save the highscore of the player, it works fine when I run the game inside Godot, but when I export the game, it crashes when it tries to save, do you have any idea why that might happen? Your videos have been very helpful, thanks!
Ответитьgreat, really simple to apply. Is it possible to implement it for a browser game?
ОтветитьThank You Friend! Have a nice coding :)
Ответитьthanks man this video comes right on time for my project !! how could I apply that for a player's position upon changing scenes tho ?
ОтветитьThank you so much broo ,i appreciate your efforts,i was waiting for this. it's very helpful ❤❤❤
ОтветитьCan you make tutorial about local multiplayer in one computer like game fireboy and watergirl
ОтветитьVery nice tutorial. Concerning the save path, it must always start by "user://..." ? Does this path will be correct for all players if my game is in production ?
ОтветитьAlways excited to see your next video!
ОтветитьPlease make a tutorial/tips for World Environment
ОтветитьTHANK YOU
ОтветитьThanks man, For me who is making only arcade games, Its important to know something new.
ОтветитьI will definitely use this in the furture!
ОтветитьThat's what I wanted for a long time. Thanks!
ОтветитьFinally you uploaded it. Iwas waited it from along along time❤❤❤
ОтветитьThanks man!Great video, really helped!
ОтветитьFinally
Ответить