Ben Frankel
Ben Frankel
It's good practice for both `T` and `&T` to implement e.g. `Add` and `Add`, even if `T: Copy`. Primitive types already do this, but `Vec2` etc. currently don't. This is...
## Bevy version `0.8.1` ## Relevant system information ``` AdapterInfo { name: "Intel(R) UHD Graphics 610 (WHL GT1)", vendor: 32902, device: 16033, device_type: IntegratedGpu, backend: Vulkan } ``` ## What...
# Objective Fixes https://github.com/bevyengine/bevy/issues/11157. ## Solution Stop using `BackgroundColor` as a color tint for `UiImage`. Add a `UiImage::color` field for color tint instead. Allow a UI node to simultaneously include...
## Bevy version 0.13.2 ## What you did ```rust trait Foo { fn foo() -> impl Fn() { || {} } } enum ConcreteFoo {} impl Foo for ConcreteFoo {}...
See https://github.com/bevyengine/bevy-website/pull/1538 for context.
# Question Should components with associated assets (e.g. `Sprite` + `Handle`) include their `Handle` as a field, or as a separate component on the same entity, or something else? -...
# Objective `Commands::spawn_empty` docs say that it queues a command to spawn an entity, but it doesn't. It immediately reserves an `Entity` to be spawned at the next flush point,...
## What problem does this solve or what need does it fill? Ergonomics. ## What solution would you like? ```rust commands.spawn(bundle).trigger(event).insert(bundle2); ``` ## What alternative(s) have you considered? ```rust let...
## What problem does this solve or what need does it fill? There is a mild proliferation of "add XYZ to the App" methods. - By type: - `init_state` -...