Hello everyone ! Could you help coding how to save and load some item inventory by store_var? Because I not know save and load by dictionary or array. Please help ! Thank you so much !
How to save an inventory by store_var( ) ??
There's a pretty good explanation here: https://kidscancode.org/godot_recipes/basics/file_io/
Thank u so much. But the third part: var c....that part is which script?
That's a different version of the first script using a custom class. For instance, you could have a custom class called class_name Inventory and then put all your inventory variables in there and just save the one class instance. But start out simple with a new project and experiment till you understand it.
Oh ! Yes, thank you so much again. I'll try do that. Thank you for your helping !
a year later
Megalomaniak added the Godot Help tag .