-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update to Bevy 0.15 #39
Conversation
More work needed to move things over to required components and to ensure extraction is done correctly, but gets us to the point where bevy_light_2d is usable with bevy 0.15.
Required components allow us to move away from bundles (yay!) and into a much simpler API. I've always disliked how much of Bevy's internal components we need to have in our bundles.
We can get away with inserting only components now.
Thanks for this! I played with it a bit locally and had mixed results. I pulled it into a project that's using Bevy 0.15 and at least the basics seemed to work alright. Oddly, when I tried to build the crate itself or any of the examples I received some errors:
I tried |
Interesting, thanks for testing! What operating system are you using? I'm not able to reproduce on MacOS (or Fedora Linux). |
@TurtIeSocks Going to merge as I haven't been able to reproduce, and it seems to not be affecting consumers. Plus I'd like to get 0.15 support released :) Please open an issue if needed, thank you! |
No problem. I'm using Windows but I haven't been able to fully diagnose the error I was seeing. It seems very odd though that I could pull it in as a crate and have it build without issue and only get the error when trying to build the source/examples directly in the repo, so maybe some env issue. I'll play with it more later this week. Either way, thanks for the 0.15 support @jgayfer ! |
Summary
Big change for us here are required components. They let us trim down our public API quite a bit!
Released on crates.io as
0.5.0-rc.1
Closes #38