Hello, I know this is a rather noob query, but I need to get out of doubt because the practice I am about to describe varies greatly from person to person, it is simple, I want to create a scene "coin", what is the difference between the root of the scene is a Node2D and the node Area2D?
Difference between using a Node2D for the root of a scene and not using it
I find it best to have it within a parent container node (like Node2D/3D). The advantage is that you can, for example, animate a coin Area2D up and down then use the parent Node2D to easily move the animating coin to a different location.
- Best Answerset by Jalkhov
For the main game scene or a level it's good to have a generic parent (like Node2D or Node3D). But for sub scenes like a coin pickup, it's fine to have it as a specific class.
Thank you very much for your answers, it is now clearer, personally I will adopt the practice mentioned by cybereality, because it seems to me a bit cleaner and more organized.