Possible to load a scene+gdscript (i.e. not precompiled) files dynamically at runtime?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By polypus74

Hi All,

Is it possible to load a scene+gdscript files dynamically at runtime? I do not mean the usual means of loading up a scene, I am specifically interested in loading scenes, assets, and scripts pulled down via an http request.

Since I’m not really sure what GDScript’s compilation model is (still a rank noob with Godot), I’m just wondering if this is at all possible?

Thanks

yes, just use load or look into the queue_resource.gd script if you want to load even more smoothly in another thread

wombatTurkey | 2018-03-24 00:13