Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | RoyShaw |
I’m making an RPG game where players will get random loot (scenes) when opening chests.
I would like for my scenes to have attributes or tags (such as “sword”, “uncommon”, “freezing”, etc.) that my game will query for when it determines whats in the chest.
For example, it may query for all scenes with “rare” and “staff” then choose a random one from the results.
I have thought of using a folder structure, but that may become impractical if some items have complex tags (such as being both “freezing” and “fire”)
Also, I think that instancing each scene just to see its attributes may be cumbersome in game