bevyengine / bevyengine/bevy

Migrate examples to the improved Spawning API (to `children! from `with_children`)

Open
#18,238 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.