Move data from tres files to real data files #6871
Replies: 3 comments 25 replies
-
The fact that |
Beta Was this translation helpful? Give feedback.
-
Also how should this handle if the file storing the binary data is deleted? What limits should be put to make the decision to store it one way and not another? Just some thoughts on the questions raised by this |
Beta Was this translation helpful? Give feedback.
-
I think that the main problem is long lines (example). There was a suggestion to wrap lines in tres/tscn after reaching some limit. The default context in git is 3 lines. If they are short, then this will not be a problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Running "git diff" is usually painful due to
tres
files being text files sometimes holding lots of embedded data. Storing data with a string representation is inefficient, it uses more space that it's needed, and it makes working with these text files a bit harder.I think data should be stored in binary data files and referenced from
tres
files. This would reduce the size of the project and working withtres
files as text files would be easier. Loading them from Godot would probably be faster too since it wouldn't have to parse all those numbers and convert them to real data.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions