[Feature Request]: Centralized Resource Management
lucasstarsz opened this issue · comments
Origins of the Feature
FastJ currently carries references and copies of resources everywhere in its code, with no real sense of structure or central idea driving the efficient storage of resources.
The New Feature Idea(s)
The following tasks should be completed:
- Create a
ResourceManager
class that can be used to load/unload/store resources of any type (possibly within some restriction?) - Consider alternative image resource handling in
Sprite2D
rather than raw images, for future use with hot reloading of resources (spritesheets are still needed) - Explore usage of the resource manager in aspects of FastJ (such as #108)
This issue will begin its development alongside #108. If it works well, it will be expanded to the rest of the engine.
Alternatives
No response
Code of Conduct
- I agree to follow this project's Code of Conduct