How to save and load a game in Godot 4?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KramchayDig

I know the class names in save and load a file in Godot 3.x but I don’t know for Godot 4 everything has changed. Anyone can provide any information on how to do it? I’m literally stuck after I move my project to Godot 4, I simply don’t know how to set up a save and load file in Godot 4’s new gdscript changes. Hope this understands.

If you are stuck because of the renames, you can use this file to see what has changed to what: https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp

zhyrin | 2023-03-11 09:29

:bust_in_silhouette: Reply From: KramchayDig

I found a source link in save and load a game: Saving/loading data :: Godot 4 Recipes