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

Add SystemBundle #38

Closed
AndreaCatania opened this issue Jan 19, 2021 · 1 comment · Fixed by #184
Closed

Add SystemBundle #38

AndreaCatania opened this issue Jan 19, 2021 · 1 comment · Fixed by #184

Comments

@AndreaCatania
Copy link
Member

AndreaCatania commented Jan 19, 2021

Bound with #39

The SystemBundle is a collection of Systems that allow to add Systems, to the pipeline, in bulk. This is useful to speed-up and make easier the pipeline composition.

Some example are:

  • RenderingBundle
  • PhysicsBundle
  • ....

Feedbacks

  • I can override or add to a bundle (Bundle MyRigidBody = Godex.RigidBody & SomeComponent)

Notes

  • The SystemBundle just contains actual Systems that can still be added one by one.
  • The SystemBundle is just an Editor concept so it doesn't bloat the actual godex::pipeline core.
@AndreaCatania
Copy link
Member Author

An additional idea could be allow the SystemBundle to have extra information: like the Pipeline position (or the pipeline sub group) per each system. In this way we could have 1 bundle for each feature; that is able to register the systems sparsely in the pipeline.

This should improve the pipeline creation drastically, since the user would need to add just few bundles (one for each feature he wants to use).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant