Description
Changelog
Reviews (0)

This project showcases how to load and save various file types without going through Godot's resource importing system.

This is useful to load/save images, sounds, 3D scenes, and ZIP archives at run-time such as user-generated content, without requiring users to generate a PCK file through Godot.

Can be loaded and saved at run-time:

  • Images (JPEG, PNG, WebP)
  • 3D scenes (glTF 2.0)
  • ZIP archives
  • Plain text files[^1]

Can be loaded at run-time:

  • Images (TGA, BMP, SVG[^2])
  • 3D scenes (FBX[^3])
  • Audio (Ogg Vorbis, MP3, WAV)
  • Fonts (TTF, OTF, WOFF, WOFF2, PFB, PFM, BMFont)

PackedByteArray classes, but this is not shown in this demo.

with .svg extension using the FileAccess class, but this is not shown in this demo.

#96043.

See the Saving and Loading (Serialization) demo for an example of saving/loading game progress.

Language: GDScript

Renderer: Compatibility

Licenses

Changelog for version 4.7-6ad6167

No changelog provided for this version.

Reviews

Run-time File Saving and Loading Demo has no reviews yet.

Login to write a review.