Friendly Cosmonaut @friendlycosmonaut.dev · Feb 19

Ever wondered what the ".res" and ".tres" mean in #Godot? They're res-ource files! Packets of data (eg. a material) that don't do anything on their own, but can be used by Nodes (eg. to render an object). A ".res" file is binary, while ".tres" is t-ext based human readable.

16 likes 1 replies

?

Replies

Friendly Cosmonaut · Feb 19

Similarly, ".scn" and ".tscn" files are scenes - basically, a bunch/tree/hierarchy of Nodes that form a collective Thing (eg. the Player). This Thing is saved as a special type of resource, and can later be instantiated. Again, ".scn" is binary and ".tscn" is text-based.