NovelRT
NovelRT copied to clipboard
[Proposal] Asset Database
Currently, we have no implementation for an asset loading/registering system. This is useful for many different things, and also relates to #24 - an asset database would be nice for loading and resolving of types.
Example: (C# due to my inexperience with C++)
var brickTexture = await AssetDatabase["textures"].GetAsync("brick.png");
We could also implement special folder handling. Like the above example, to register a special folder for "textures" it could be:
AssetDatabase.RegisterSpecialFolder("textures", "./Textures", createFolder: true);
This would allow for flexibility and some abstraction for user end assets over the file system proposal.
As we discussed, let's try.