Hi there,
Please, let me know if I am wrong: assuming all resources below exist and they define only the their inheritage as suggested by their name:
extends Node2D
onready var Map = preload("res://TileMap.gd").new()
onready var Player = preload("res://KinematicBody2D.gd").new()
is it the same (or equivalent) as adding a node via GUI to the node which the script above is attached to?