Skip to content

Improve examples #307

Description

@Shatur

We need to make the following changes to our examples to better teach users:

  • Write a proper character controller example instead of the current one. See https://bevy.org/examples/movement/physics-in-fixed-timestep/ for more details. To put it short, it should run in FixedUpdate and accumulate input. Check how bevy_ahoy does it.
  • Add pull_style_api that mirrors basic_action_management, but uses pull-style API.
  • Rework local_multiplayer showcases a character controller that runs in Update, which isn't nice (see the link above). Let's change it into a snake game with 2 snakes (to showcase local multiplayer). In this kind of game we can mention that it's ok to use Update. It also sounds fun 😅(offtopic, but I also recently discovered a snake MMO via SSH). Adjust local_multiplayer as well.

Each change could be done in a separate PR. Contributions are welcome. I think it's a good opportunity for new contributors to play with the crate and Bevy in general 🙂

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions