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

Refactor the entity protocol #890

Open
IntegratedQuantum opened this issue Jan 3, 2025 · 0 comments
Open

Refactor the entity protocol #890

IntegratedQuantum opened this issue Jan 3, 2025 · 0 comments
Labels
contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine refactor shuffle a lot of code around

Comments

@IntegratedQuantum
Copy link
Member

Using a zon array for everything is no longer the great solution it once appeared to be:

  • The null separator between entities and item drops is kind of weird and no longer needed since
  • item drop updates are sent one by one, completely separate from regular entity updates.
  • Using zon to encode 16 bit integers when removing item drops is a really inefficient.
  • zon really only makes sense for the item date, everything else can be stored more efficiently in numbers directly.
@IntegratedQuantum IntegratedQuantum added contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine refactor shuffle a lot of code around labels Jan 3, 2025
@IntegratedQuantum IntegratedQuantum added this to the Long-Term Goals milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine refactor shuffle a lot of code around
Projects
None yet
Development

No branches or pull requests

1 participant