Are there any proper "rules" used in sorting your files and nodes in godot.

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

Like in coding there is a proper way of doing it so is there a proper way in file management and node tree management.

I think this video may help:

lincolnpepper | 2019-10-25 15:23

If I understand your question correctly,
There’s not really a ‘proper way’ to code, it’s more ‘standard practice’ for example using a for loop with an Array instead of countless elif statements.

The structure of nodes goes on their functionality such as CollisionShape should be a child of StaticBody, same for a RigidBody however everything that should react to the physical movement should also be a child such as MeshInstance.

For resource files I personally just ask myself “Will I reuse this thing?” if yes I make it a resource.

Magso | 2019-10-27 17:29