bevy

bevyengineApache-2.0活跃维护

用 Rust 写的数据驱动游戏引擎,API 简洁、基于 ECS 架构,适合想用现代语言做 2D/3D 游戏又不想被复杂框架拖累的开发者。

A refreshingly simple data-driven game engine built in Rust

v0.20.1发布于 2026-10-28 22:05 UTC49,659star +76 / 7 天5,033fork同步于 2026-11-10 05:18 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
cargo run --example breakout
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v0.20.1
  1. v0.20.1最新正式版2026-10-28 · 2026-10-28 22:05 UTC

    A full diff of what's in this release can be seen here: https://github.com/bevyengine/bevy/compare/v0.20.0...v0.20.1

  2. v0.20.02026-10-08 · 2026-10-08 21:41 UTC
    查看更新说明

    A full diff of what's in this release can be seen here: https://github.com/bevyengine/bevy/compare/v0.19.1...v0.20.0

  3. v0.20.0-rc.2pre-release2026-09-28 · 2026-09-28 19:28 UTC
    查看更新说明

    A full diff of what's in the release candidate can be seen here: https://github.com/bevyengine/bevy/compare/v0.19.1...v0.20.0-rc.2

    The list of new fixes from the previous RC can be seen here: https://github.com/bevyengine/bevy/compare/v0.20.0-rc.1...v0.20.0-rc.2

  4. v0.20.0-rc.1pre-release2026-09-15 · 2026-09-15 21:37 UTC
    查看更新说明

    A full diff of what's in the release candidate can be seen here: https://github.com/bevyengine/bevy/compare/v0.19.1...v0.20.0-rc.1

  5. v0.19.12026-08-13 · 2026-08-13 00:02 UTC
    查看更新说明

    A full diff of what's in this release can be seen here: https://github.com/bevyengine/bevy/compare/v0.19.0...v0.19.1

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Bevy

    License Crates.io Downloads Docs Discord

    What is Bevy?

    Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!

    WARNING

    Bevy is still in the early stages of development. Important features are missing. Documentation is sparse. A new version of Bevy containing breaking changes to the API is released approximately once every 3 months. We provide migration guides, but we can't guarantee migrations will always be easy. Use only if you are willing to work in this environment.

    MSRV: Bevy relies heavily on improvements in the Rust language and compiler. As a result, the Minimum Supported Rust Version (MSRV) is generally close to "the latest stable release" of Rust.

    Design Goals

    • Capable: Offer a complete 2D and 3D feature set
    • Simple: Easy for newbies to pick up, but infinitely flexible for power users
    • Data Focused: Data-oriented architecture using the Entity Component System paradigm
    • Modular: Use only what you need. Replace what you don't like
    • Fast: App logic should run quickly, and when possible, in parallel
    • Productive: Changes should compile quickly ... waiting isn't fun

    About

    • Features: A quick overview of Bevy's features.
    • News: A development blog that covers our progress, plans and shiny new features.

    Docs

    Community

    Before contributing or participating in discussions with the community, you should familiarize yourself with our Code of Conduct.

    • Discord: Bevy's official discord server.
    • Reddit: Bevy's official subreddit.
    • GitHub Discussions: The best place for questions about Bevy, answered right here!
    • Bevy Assets: A collection of awesome Bevy projects, tools, plugins and learning materials.

    Contributing

    If you'd like to help build Bevy, check out the Contributor's Guide. For simple problems, feel free to open an issue or PR and tackle it yourself!

    For more complex architecture decisions and experimental mad science, please open a GitHub Discussion so we can brainstorm together effectively!

    Getting Started

    We recommend checking out the Quick Start Guide for a brief introduction.

    Follow the Setup guide to ensure your development environment is set up correctly. Once set up, you can quickly try out the examples by cloning this repo and running the following commands:

    # Switch to the correct version (latest release, default is main development branch)
    git checkout latest
    # Runs the "breakout" example
    cargo run --example breakout
    

    To draw a window with standard functionality enabled, use:

    use bevy::prelude::*;
    
    fn main() {
        App::new()
            .add_plugins(DefaultPlugins)
            .run();
    }
    

    Fast Compiles

    Bevy can be built just fine using default configuration on stable Rust. However for really fast iterative compiles, you should enable the "fast compiles" setup by following the instructions here.

    Bevy Cargo Features

    This list outlines the different cargo features supported by Bevy. These allow you to customize the Bevy feature set for your use-case.

    Thanks

    Bevy is the result of the hard work of many people. A huge thanks to all Bevy contributors, the many open source projects that have come before us, the Rust gamedev ecosystem, and the many libraries we build on.

    A huge thanks to Bevy's generous sponsors. Bevy will always be free and open source, but it isn't free to make. Please consider sponsoring our work if you like what we're building.

    This project is tested with BrowserStack.

    License

    Bevy is free, open source and permissively licensed! Except where noted (below and/or in individual files), all code in this repository is dual-licensed under either:

    at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

    Some of the engine's code carries additional copyright notices and license terms due to their external origins. These are generally BSD-like, but exact details vary by crate: If the README of a crate contains a 'License' header (or similar), the additional copyright notices and license terms applicable to that crate will be listed. The above licensing requirement still applies to contributions to those crates, and sections of those crates will carry those license terms. The license field of each crate will also reflect this.

    The assets included in this repository (for our examples) typically fall under different open licenses. These will not be included in your game (unless copied in by you), and they are not distributed in the published bevy crates. See CREDITS.md for the details of the licenses of those files.

    Your contributions

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.