godot-demo-projects/loading/serialization
ShatteredReality b4c73f4888
Fix README links to asset library (#1078)
This updates all links to point to the 4.2 demos instead of the 3.5 ones.

Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
2024-06-24 19:29:58 +02:00
..
screenshots Update loading demos for 4.0 (#776) 2022-12-13 16:51:04 +01:00
README.md Fix README links to asset library (#1078) 2024-06-24 19:29:58 +02:00
default_env.tres Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
enemy.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
enemy.tscn Update loading demos for 4.0 (#776) 2022-12-13 16:51:04 +01:00
enemy_crab.png Update loading demos for 4.0 (#776) 2022-12-13 16:51:04 +01:00
enemy_crab.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
gui.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
icon.webp Use 128×128 WebP icons for all demos (#885) 2023-03-29 18:59:57 +02:00
icon.webp.import Use 128×128 WebP icons for all demos (#885) 2023-03-29 18:59:57 +02:00
player.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
project.godot Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
save_load.tscn Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
save_load_config_file.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
save_load_json.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
sea_turtle.png Update loading demos for 4.0 (#776) 2022-12-13 16:51:04 +01:00
sea_turtle.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00

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