miskatonicstudio / goat

Godot Open Adventure Template (GOAT) is a tool for making 3D adventure games.
MIT License
372 stars 32 forks source link

Consider different resource management (voice, inventory, other items) #189

Open miskatonicstudio opened 4 years ago

miskatonicstudio commented 4 years ago

E.g. voice samples could be loaded separately for each scene, and cleared automatically when the scene is removed. To achieve that, a new node type could be introduced, which would be added to each gameplay scene and would hold all voice samples. Global goat_voice would then find that node and read voices from it. This would, however, require a different default voice setting.

For inventory we could add all inventory items to Inventory scene, and then enable them when certain conditions occur. We should confirm first if loading all inventory items at once wouldn't slow down the program too much.

EDIT: this could also solve the problem with orphaned resources.

miskatonicstudio commented 2 months ago

This goes along perfectly with the main screen plugin: there can be a separate GOAT tab for e.g. managing the inventory, with a 3D preview of each item.