it is normal to use Node2D like a folder?

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

Im using Node2D like a “folder” for objects in scenes.
Can occur because of this unforeseen problems?

I assume you mean “can problems occur” :slight_smile:

Millard | 2020-11-03 19:06

:bust_in_silhouette: Reply From: sash-rc

If by “folder” you meant an entity to group its (2D) children, and affect all their transforms at once - yes, it’s normal, that’s what are nodes made for.

If you want a strictly logical hierarchy - you may use just Node instead.

:bust_in_silhouette: Reply From: CharlesMerriam

Guessing what you mean, I would say yes.

Usually, Node2D is for nodes that will be instanced in other scenes. Node for the main line.

This is normal. Make a heirarchy:

      Quest accepted
      Quest completed
      You Died
      Level Up
 Modal Menus
      New Player
      Pick Class
      Are You Sure?

Add functions banner(name) and menu(name) that turn on the visibility of the selected menu and all others off. This gives you an easy way to develop the gui in the gui editor and choose when to see it in code.