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

Support Bevy v0.7 #66

Closed
Hurricane996 opened this issue Jan 24, 2022 · 5 comments
Closed

Support Bevy v0.7 #66

Hurricane996 opened this issue Jan 24, 2022 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@Hurricane996
Copy link

Bevy has been updated to version 0.6.0 but this package doesn't support it

@zicklag
Copy link
Member

zicklag commented Jan 24, 2022

Hi @Hurricane996 this is definitely something we plan on doing.

Our latest, unmerged branch is actually built on a somewhat older version of the renderer now working on Bevy 0.6.

I'm not 100% sure when I'll have the time to come and finish the migration, but it's definitely on the roadmap and will be a part of finishing off #41 before an 0.3 release of Bevy Retrograde.

@zicklag zicklag added the enhancement New feature or request label Jan 24, 2022
@rdelfin
Copy link

rdelfin commented May 26, 2022

Given there's now a Bevy 0.7, would skipping straight to that also be in the horizon?

@zicklag
Copy link
Member

zicklag commented May 26, 2022

Yep, that would make the most sense.

The biggest obstacle was going to be re-implementing the UI renderer. Since we had our own custom renderer for the RAUI UI system, it was going to be a little bit of work, but now that I've gotten more acquainted with Egui I'm liking it more than RAUI I think and we might just use that.

If we use Egui, we have an advantage because there's already Bevy rendering plugins for Egui, so that might save us some work.

Then we just have to implement the 9-patch UI style GUI elements for Egui, which I haven't tried yet, but hopefully won't be a problem.

Not sure exactly when I'll find time to do the update, but I have been working on Egui more which will help me get more familiar with it and hopefully make it easier once I do find time to work on this.

@zicklag zicklag changed the title Support Bevy v0.6 Support Bevy v0.7 Jun 21, 2022
@zicklag
Copy link
Member

zicklag commented Jun 21, 2022

Progress update: I've migrated everything except for UI ( and text rendering, which is related ). This issue should be the last major thing to get working before merging the refactor: #69.

Interesting note: A lot of Bevy retrograde disappears after the migration. We just use existing bevy plugins for audio and map loading, we no longer have a custom renderer so sprites are just normal bevy, and we use Rapier for physics with only one tiny utility added by us for generating sprite collision shapes. Finally, all we're probably going to add for UI is 9-patch style rendering and a pixel font loader to the existing Egui plugin.

So Bevy Retrograde turns more into a small library that glues together other existing libraries and provides small utilities. You almost don't need it! It just gives a little bit of a helpful push. 😄

Anyway, hopefully I'll get it updated soon.

@zicklag
Copy link
Member

zicklag commented Jun 23, 2022

Just got it all updated in dev. A new release is coming out soon!

@zicklag zicklag closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants