What is the *safe* way to use resources? Are nodes a viable substitute?

4.1.4rc (custom version, zylanns voxel tools)

Hey, I tried using resources for the first time to build a character sheet. I use the built-in script method. It seems fitting since I am only creating a data container.

Godot complained about a deleted variable being incorrect. The line was commented though. So I restarted, thinking godot hadn’t caught up with my changes.

Every single resource script I just spent this evening on was wiped out to an older version, pretty much this evening in the trash bin.

I am reading that this is a bug and some(one guy) claim that nodes can be used just as well with not a significant performance impact. Or to not use built-in scripts(didn’t mention any alternatives, I assume dragging a script into an empty resource?)

I spent so much time, should I forget resources altogether and use nodes? Or try again with resources? If resources, what is the safe way to do it without using the built-in script method? Have a separate script and drag into an empty resource?

Ive never experienced anything like that and that is definitly not common. First of all you probably should use a version control system like git so your progress doesnt get lost. Second, resources are safe to use, but if you have trouble trusting them you can also use nodes (or even json/txt-files). Resources are just a pleasent thing to work with inside godot, but not necessary

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.