Comments (6)
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.
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.
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.
You can access it through
bevy_prototype_lyon::prelude::tess::path::Path
.However, in most cases you can simply use
ShapePath
to generate aPath
component from aGeometry
.
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.
Thanks !
from bevy_prototype_lyon.
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)
- Very dense paths do not render (with minimum example)
- Improve ergonomics of DrawMode
- Unable to fill a simple path HOT 2
- Heron 2d debug2d feature conflict HOT 1
- Update to Bevy 0.8 HOT 1
- App crashes if rendering to an HDR texture
- Rectangle shapes have wrong origin
- System Ambiguity Prevents Rendering After Build (Sometimes) with Bevy .9/.9.1 HOT 1
- Can't draw paths or polygons HOT 1
- Using images or materials for shape fill HOT 8
- Rough curves with fixed camera scaling mode HOT 2
- More const support
- Support for rounded polygons HOT 4
- Dyanmic shapes example does not compile HOT 5
- Docs.rs still shows 0.7.2 as latest version HOT 2
- Why aren't `Fill` and `Stroke` housed in `ShapeBundle`? HOT 2
- WebGL: INVALID_OPERATION on entity despawn on wasm target HOT 4
- Changing the Path does not redraw the mesh
- Expected bevy_render::color::Color, found bevy::prelude::Color HOT 2
- How do I use this with UI? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_prototype_lyon.