hi there!
i'm a bit noob Godot so I want to ask for help...
i want to instance a scene as node by code.
My aim is to generate level portions (scenes) procedurally.
but i'm stuck on the first step, here is what i did :
func _ready():
var scene = preload("res://portions/portion1.scn");
var node = scene.instance();
add_child(node);
(The scene exist and contain a tilemap)
Unfortunately, when I run the code, nothing appears on-screen.
Maybe i did something wrong?