te1ny:
I want to create classes to store game session and game information:
Keep them RefCounted
if you don’t want to serialize them to file system. Use Resource
if you want to save them to file system. There’s no need to use Object
for this scenario.
More information can be found here:
The thing with Godot is that there’s no only one solution, you had many solutions.
But before seeing these solutions, you must know what you want to save first.
I’ll help you defining how and where you can use these saved methods, and you decide what to use, deal? Deal.
Before actually starting coding something…
Define what you want to save first
Don’t say:
“I’m going to use [Format Name Here] to save my things”
This will probably over-complicate the process for you and your team. Decide …
Nodes are cheap to produce, but even they have their limits. A project may have tens of thousands of nodes all doing things. The more complex their behavior though, the larger the strain each one a...