tModLoader icon indicating copy to clipboard operation
tModLoader copied to clipboard

[1.4] Redesign assets to be self-sufficient.

Open Mirsario opened this issue 3 years ago • 1 comments

For 1.4 TML, we should really redesign the new asset system that ReLogic added to their library. Currently, assets don't serve much function besides just wrapping objects and describing their state. They do not trigger any loading processes when accessed, and content assets still require the user to manually call methods like Main.instance.LoadItem(int), which call AssetRepository.Request<T>() with an ImmediateLoad parameter instead of the initial DontLoad.

Mirsario avatar Oct 16 '20 11:10 Mirsario