Nilirad / bevy_prototype_lyon

Draw 2D shapes in Bevy
Apache License 2.0
627 stars 85 forks source link

Dyanmic shapes example does not compile #200

Open iiYese opened 1 year ago

iiYese commented 1 year ago

As described in issue title. Using bevy 0.9 with 0.7.2.

rparrett commented 1 year ago

It sounds like you may be using example code from the main (development) git branch with the latest released version.

Here's a link to the version of that example that will work with 0.7.2: https://github.com/Nilirad/bevy_prototype_lyon/blob/v0.7.2/examples/dynamic_shape.rs

If that doesn't resolve the issue, could you please share the error message you are seeing?

iiYese commented 1 year ago

Thanks that works. Is there a reason this isn't on the main branch yet? :thinking:

rparrett commented 1 year ago

The main branch is up-to-date and there have been some unreleased breaking changes since 0.7.2.

rparrett commented 1 year ago

Maybe the readme should be linking to the examples for the latest released version though.

Nilirad commented 1 year ago

I agree, but I should make a latest branch first.