ShatteredReality b4c73f4888 Fix README links to asset library (#1078) 7 mesi fa
..
screenshots 095beddcb9 Update loading demos for 4.0 (#776) 2 anni fa
README.md b4c73f4888 Fix README links to asset library (#1078) 7 mesi fa
default_env.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 anni fa
enemy.gd bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
enemy.tscn 095beddcb9 Update loading demos for 4.0 (#776) 2 anni fa
enemy_crab.png 095beddcb9 Update loading demos for 4.0 (#776) 2 anni fa
enemy_crab.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 1 anno fa
gui.gd bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
icon.webp 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 anno fa
icon.webp.import 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 anno fa
player.gd bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
project.godot bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
save_load.tscn bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
save_load_config_file.gd bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
save_load_json.gd bac1e69164 Use static typing in all demos (#1063) 8 mesi fa
sea_turtle.png 095beddcb9 Update loading demos for 4.0 (#776) 2 anni fa
sea_turtle.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 1 anno fa

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 Saving games in the documentation.

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: Compatibility

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

Screenshots

Screenshot