Skip to reading
GDScript Programming & Godot

ResourceLoader

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

Export-aware resource lookup/loading.

Code example
Useful members: exists, load, load_threaded_request, load_threaded_get_status,
load_threaded_get.

Official ResourceLoader reference

PackedScene#

A saved Godot scene resource.

Useful members: instantiate, pack, can_instantiate.

Official PackedScene reference

FileAccess#

Read/write byte and text files.

Code example
Useful members: open, get_as_text, get_line, store_string, store_line, seek, seek_end, close.

Official FileAccess reference

DirAccess#

Directory and file-management operations.

Code example
Useful members: open, get_files, get_directories, make_dir_recursive_absolute, rename_absolute,
remove_absolute.

Official DirAccess reference

JSON#

JSON serialization with parse diagnostics.

Code example
Useful members: stringify, parse_string, parse, data, get_error_message, get_error_line.

Official JSON reference

Page 323 of 378Permalink
Go to page