legion-labs / legion

Legion monorepo, contains the legion engine, the tools, source control, build system etc...
https://book.legionengine.com
Other
16 stars 2 forks source link

Overhaul load state machine #1567

Open ndubois-legion opened 2 years ago

ndubois-legion commented 2 years ago

Summary

Leaner API & make loading steps more configurable per type

Current State

Currently, loading is klunkly. APIs should probably have a single entry point for accessing resources, in both offline & runtime. We should also have a way for defining the loading graph per resource type, or just per resource. Use Reference in the APIs, and avoid the mix of Handle, HandleUntyped, ReferenceUntype. Are those really useful?

Tasks

ndubois-legion commented 2 years ago

@smartel-legion Can you update the description of this issue before our planning exercise please? @aganea says it's larger than initially.

ndubois-legion commented 2 years ago

Going well, looking at physics playground. Most tests are passing, some still deactivated.

Next:

aganea commented 2 years ago

Update: mainly done in 'maverick' branch. Lacking integration with graphics. Stabilization will come after in the last sprint of M3.