mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-12 10:47:10 +01:00
This leads to code that is easier to understand and runs faster thanks to GDScript's typed instructions. The untyped declaration warning is now enabled on all projects where type hints were added. All projects currently run without any untyped declration warnings. Dodge the Creeps and Squash the Creeps demos intentionally don't use type hints to match the documentation, where type hints haven't been adopted yet (given its beginner focus).
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/891
