Migrate examples to the improved Spawning API (to `children! from `with_children`)
Open
A-ECS
A-UI
C-Examples
D-Straightforward
S-Ready-For-Implementation
X-Uncontroversial
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
The Improved Spawning API, https://github.com/bevyengine/bevy/pull/17521, provides ergonomics to spawning entity hierarchies. Many of the examples leverage `with_children` and can be moved to the new API, both in order to share and popularize the approach as well as (hopefully!) to simplify the examples' implementation.
Contributor guide
Research direction
Start by reviewing the improved Spawning API in PR #17521 and searching the examples for uses of `with_children`. The work is done when the relevant examples use the `children!` API and continue to function as before.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100