Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets #113

Merged
merged 26 commits into from
Jan 10, 2023
Merged

Assets #113

merged 26 commits into from
Jan 10, 2023

Conversation

xissburg
Copy link
Owner

@xissburg xissburg commented Jan 8, 2023

An asset is made of a globally unique id and a map between internal elements and entities. With the id any client or server must be able to instantiate all entities and components that belong in that asset and, with the entity map, this instantiation can be replicated in any other server or client by matching local and remote entity ids..

Assets provide a way to group entities together, forming a group that's always instantiated in the same form. It can be seen as a prefab. Entities and components which are not related to the physics simulation can be part of an asset, such as graphical elements, logic and sound, and can be instantiated with it and linked to rigid bodies in custom ways.

… was being accessed to remove them from multi_island_residents, i.e. reading from a deleted instance, UB
…lands that contain an entity owned by client excluding entities owned by other clients.
…ction to mark all components in a snapshot as modified.
…e registered (input history and modified comp maker func). When starting an extrapolation, mark all components in remote snapshot as modified to ensure they will be included in the result even if they dont change during extrapolation.
…ulti-residents/non-procedurals. Still fails when two clients are in the same island.
@xissburg xissburg marked this pull request as draft January 8, 2023 01:21
@xissburg xissburg marked this pull request as ready for review January 10, 2023 19:59
@xissburg xissburg merged commit c100850 into master Jan 10, 2023
@xissburg xissburg deleted the assets branch January 10, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant