Is the way to connect spawning enemies to a library of path types to, upon spawn, instead of adding the spawned enemy as child of root, i add it as child of the pathfollow2d node?
Haven't used the path follow node, but that sounds like a reasonable assumption, yeah.
edit:
https://docs.godotengine.org/en/stable/classes/class_pathfollow2d.html This node takes its parent Path2D, and returns the coordinates of a point within it, given a distance from the first vertex. It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be children of this node. The descendant nodes will then move accordingly when setting an offset in this node.
https://docs.godotengine.org/en/stable/classes/class_pathfollow2d.html This node takes its parent Path2D, and returns the coordinates of a point within it, given a distance from the first vertex.
It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be children of this node. The descendant nodes will then move accordingly when setting an offset in this node.
Right from the documentation.