#Components VS Resources

4 messages · Page 1 of 1 (latest)

frozen spindle
#

Hi!

I'm new t o Godot and I'm trying to figure out how to make things more modular with composition. Right now in my first screenshot, I created resources and have used the inspector to connect them into my main character. I've also come across Bitlytic's video where he seems to create nodes as components.

What is the reason for using one over another?

It sounds like resources are more as data containers to contain more raw numbers connected to variables across similar items whereas creating nodes adds more functionality..? It isn't super clear to me on the reasoning on one uses one versus the other

eternal sierra
#

Think of resource as static data to load from disk and nodes as scriptable behaviours at run time

frozen spindle