Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 9 kuukautta sitten
..
screenshots 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
README.md a2557fce51 Add a run-time saving/loading demo project 1 vuosi sitten
default_env.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 vuotta sitten
enemy.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
enemy.tscn 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
enemy_crab.png 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
enemy_crab.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 9 kuukautta sitten
gui.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
icon.webp 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 vuosi sitten
icon.webp.import 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 vuosi sitten
player.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
project.godot 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 9 kuukautta sitten
save_load.tscn 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 1 vuosi sitten
save_load_config_file.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
save_load_json.gd 4e27134403 fix a warning on Stringify call 1 vuosi sitten
sea_turtle.png 095beddcb9 Update loading demos for 4.0 (#776) 1 vuosi sitten
sea_turtle.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 9 kuukautta sitten

README.md

Saving and Loading (Serialization)

This demo showcases how to save a simple game with each serialization format supported by Godot:

  • ConfigFile
  • JSON

More formats may be added in the future.

For more information, see this documentation article: https://docs.godotengine.org/en/latest/tutorials/io/saving_games.html

See the Run-time File Saving and Loading demo for an example of loading various file types in an exported project without needing to import them.

Language: GDScript

Renderer: Mobile

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/891

Screenshots

Screenshot