Available for contracting: [email protected]
iiyese / aery Goto Github PK
View Code? Open in Web Editor NEWA plugin that enables a subset of entity relationship features for bevy
License: Apache License 2.0
A plugin that enables a subset of entity relationship features for bevy
License: Apache License 2.0
Available for contracting: [email protected]
It's cool to see people working on library relations, have you seen https://github.com/BoxyUwU/librelations its out of date but relies on a fork of bevy_ecs to allow for despawning entities to also despawn the targets of their relations. I don't do anything with bevy anymore these days, best of luck with your relations impl and hope my previous impl might be interesting to you
The derive macro currently doesn't support generic ZSTs, leaving me to do this instead:
pub struct Multiply<C: Composite>(PhantomData<fn(C)>);
impl<C: Composite> Relation for Multiply<C> {
const CLEANUP_POLICY: CleanupPolicy = CleanupPolicy::Orphan;
const EXCLUSIVE: bool = true;
const SYMMETRIC: bool = false;
}
At a glance aery
only uses the bevy_ecs
and bevy_derive
crates, would you be open to restricting the bevy dependency to these? It could reduce compile times and make aery
more feasable for non-graphics applications.
Rather than filtering by entities who are part of a relation, I want to filter by entities who are not involved in the relation.
Effectively, this:
#[derive(WorldQuery)]
pub struct Abstains<R: Relation> {
// is not a host nor a target of relation R
filter: (Without<Participant<R>>, Without<RootMarker<R>>),
}
Looking for these methods implemented on Option<&RelationsItem<'_, RS>>
as well:
Lines 68 to 96 in 271fd49
I've run into this need a decent bit in my current project, and can't seem to implement iter_hosts
/iter_targets
as an extension myself since EdgeIter
is currently private.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.