NovelRT icon indicating copy to clipboard operation
NovelRT copied to clipboard

[Proposal] Asset Database

Open Tylertron1998 opened this issue 4 years ago • 1 comments

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.

Tylertron1998 avatar Oct 19 '19 17:10 Tylertron1998

As we discussed, let's try.

Shidesu avatar Aug 06 '20 16:08 Shidesu