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

explore examples using bevy #219

Closed
wants to merge 1 commit into from
Closed

explore examples using bevy #219

wants to merge 1 commit into from

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Jul 8, 2024

An experiment to see how bevy could be used as a rendering backend for examples.

The code can be quite similar to macroquad's when using gizmos.

The big downside of using bevy is that compilation time is 2.5x slower (your mileage may vary), see attached timings (~40 seconds with macroquad, ~110 seconds with bevy) :

timings.zip

I think it makes sense to keep macroquad while we don't need more advanced features.

If/when we need more, it's encouraging that we can migrate to bevy rather easily.

@Vrixyz Vrixyz mentioned this pull request Jul 8, 2024
@Vrixyz
Copy link
Contributor Author

Vrixyz commented Jul 15, 2024

We'll keep using macroquad for now, as using bevy both involves additional effort for readers (having a sense of ECS paradigm + bevy) and a cost of compilation speed... for not much benefit.

We'll reconsider that if a real need arises. To be noted macroquad is compatible with egui, if we ever need some accessible UI.

@Vrixyz Vrixyz closed this Jul 15, 2024
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