GithubHelp home page GithubHelp logo

Comments (6)

rparrett avatar rparrett commented on June 7, 2024 2

I tidied up and pushed my local fork that backports some of the features added since 0.3.1 to bevy 0.5 in case this is useful to you. It may not be doing exactly what you need with paths, but it could be a head start.

https://github.com/rparrett/bevy_prototype_lyon/tree/features-for-bevy-0.5

from bevy_prototype_lyon.

Nilirad avatar Nilirad commented on June 7, 2024

You can access it through bevy_prototype_lyon::prelude::tess::path::Path.

However, in most cases you can simply use ShapePath to generate a Path component from a Geometry.

from bevy_prototype_lyon.

ManevilleF avatar ManevilleF commented on June 7, 2024

There is no tess module in bevy_prototype_lyon::prelude and I don't see any struct ShapePath anywhere.

I need to use Path in a component query to be able to dynamically edit my shape

from bevy_prototype_lyon.

ManevilleF avatar ManevilleF commented on June 7, 2024

You can access it through bevy_prototype_lyon::prelude::tess::path::Path.

However, in most cases you can simply use ShapePath to generate a Path component from a Geometry.

It seems that I have to use your main branch to access these features and not the released version. It means I have to use the bevy main branch as well.

Why is the master branch up to date with bevy main? You should have a tracking branch and MR instead

from bevy_prototype_lyon.

ManevilleF avatar ManevilleF commented on June 7, 2024

Thanks !

from bevy_prototype_lyon.

Nilirad avatar Nilirad commented on June 7, 2024

Why is the master branch up to date with bevy main? You should have a tracking branch and MR instead

I track Bevy main on the master branch because I want to develop based off the latest changes on Bevy, like it would if it was just one of the Bevy crates. Then, when I want to release, I just branch out from master, change the Bevy dependency to the latest release and eventually fix any breaking change added by Bevy main after release (this last step is rare though, since I tend to release shortly after Bevy).

I used to have a tracking branch but I didn't like the unnecessary complexity of that approach.

Closing this as the problem has been resolved.

from bevy_prototype_lyon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.