Toqozz / bevy_debug_lines

A prototype plugin providing a simple line drawing api for bevy.
MIT License
142 stars 41 forks source link

Update to Bevy 0.12 #44

Open vav-dev opened 1 year ago

thisjaiden commented 12 months ago

I looked into making a quick and dirty PR to migrate but found that bevy/#10377 is blocking on updating the embedded shaders to the new system. There are a few workarounds, but none are perfect. Happy to help if anything gets sorted, though I'm not exactly sure what that means 😅

Obviously no one wants to wait for Bevy 0.12.1 but I'm not sure what the alternative in the meantime is. I tried the embedded_asset(app, "src/", "..."); trick (only currently known workaround to #10377) but found it didn't work in my environment. We could embed it ourselves, though I lean away from adding cruft and bandaids.

If nothing happens in a day or two I'll try to clean up my PR and post what is done, though it's not enough to get stuff running. Advice from @Toqozz requested!

pietrosophya commented 9 months ago

This should do it.