Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 месяцев назад
..
screenshots 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
README.md a2557fce51 Add a run-time saving/loading demo project 11 месяцев назад
default_env.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 лет назад
enemy.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
enemy.tscn 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
enemy_crab.png 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
enemy_crab.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 месяцев назад
gui.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
icon.webp 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 год назад
icon.webp.import 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 год назад
player.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
project.godot 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 месяцев назад
save_load.tscn 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 1 год назад
save_load_config_file.gd 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
save_load_json.gd 4e27134403 fix a warning on Stringify call 1 год назад
sea_turtle.png 095beddcb9 Update loading demos for 4.0 (#776) 1 год назад
sea_turtle.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 месяцев назад

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