Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename "App, Appbuilder, and World" => "Apps and Worlds" #1416

Merged
merged 4 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions content/learn/book/getting-started/app-appbuilder-world.md

This file was deleted.

34 changes: 34 additions & 0 deletions content/learn/book/getting-started/apps-worlds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
+++
title = "Apps and Worlds"
[extra]
weight = 3
status = 'hidden'
+++

Your entire game is stored inside a Bevy [`App`], which is responsible for running the main game loop and storing the main [`World`].
The [`World`] stores all of the App's state — [Entities], [Components], [Resources], and [Systems].

[`App`]: https://docs.rs/bevy/latest/bevy/app/struct.App.html
[`World`]: https://docs.rs/bevy/latest/bevy/ecs/world/struct.World.html
[Entities]: /learn/book/ecs/entities-components/
[Components]: /learn/book/ecs/entities-components/#working-with-components
[Resources]: /learn/book/ecs/resources/
[Systems]: /learn/book/ecs/systems-queries/

## Apps

{% todo() %}

* explain what the app does
* example `main()` function

{% end %}

## Worlds

{% todo() %}

* explain what the world does
* vaguely explain how the world actually stores entities and components? maybe too early for that

{% end %}
Loading