bevyengine / bevyengine/bevy-website
General confusion - E missing in ECS for official tutorial
- Dominant language
- JavaScript
- Stars
- 249
- Forks
- 450
- Avg merge
- 16h 20m
- Merged PRs (30d)
- 6
Description
Recreating this [issue](https://github.com/bevyengine/bevy/issues/6904) accidentally posted in wrong repo:
## How can Bevy's documentation be improved?
As it currently stands I'm a bit confused on Entities, primarily because the examples don't use in the tutorial.
I'm aware of the `bevy::prelude::Entity` struct, but there is no actual usage of this. It seems in the tutorial that components have the ability to be entities as well as components.
Starting with the idea that Person is a component and we sort of missed any code representing an entity.
https://bevyengine.org/learn/book/getting-started/ecs/
```rust
#[derive(Component)]
struct Person;
```
The only code we get on entity is that it's a unique u64?
```rust
struct Entity(u64);
```
I look forward to the official tutorial becoming more robust it seems to not have much added to it in the last year. I'm happy to help come up with ideas!
Contributor guide
Assessment
This issue has not been assessed yet.