novelrt / NovelRT

A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
MIT License
183 stars 43 forks source link

Add basic registered streamable asset management. #557

Closed RubyNova closed 1 year ago

RubyNova commented 1 year ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) This adds a new basic file loading API for assets.

Is there an open issue that this resolves? If so, please link it here. No.

What is the current behavior? (You can also link to an open issue here) There is no API that has this functionality.

What is the new behavior (if this is a feature change)? The resource loader can now provide assets, untyped, as a stream.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No.

Other information: This is required as part of the Fabulist MVP changes since Fabulist works with streams.