Unofficial Bevy Cheat Book

Concise practical reference to the Bevy game engine.

Covers useful syntax, features, programming patterns, and solutions for common game development tasks.

Designed to be easy to read, straight to the point, using simple language to focus on the important information.

While rich in content, this book does not aim to be exhaustive or complete. It cannot feasibly cover every feature of bevy. It is my best attempt to teach the most practically-relevant aspects.

The book has several sections:

Not intended to be read in order. Jump to whatever is useful to you!

Welcome! May this book serve you well!

(don't forget to Star the book's GitHub repository 😉)

Bevy has a rich collection of official code examples.

Check out the awesome-bevy list, for community-made resources.

Our community is very friendly and helpful. Feel welcome to join the Bevy Discord to chat, ask questions, or get involved in the project!

Stability Warning

Bevy is still a very new and experimental game engine! It has only been public for less than a year!

While improvements have been happening at an incredible pace, and development is active, Bevy simply hasn't yet had the time to mature.

There are no stability guarantees and breaking changes happen often!

Usually, it not hard to adapt to changes with new releases (or even track the main git development branch), but you have been warned!

Maintenance

This version of the book is for Bevy release 0.5.

You may also access the next branch. It contains any WIP efforts to cover newer developments in Bevy's main git branch, in preparation for the next release.

I intend to keep this book up-to-date and relevant with every new Bevy release. I also try to regularly make general improvements to it, when I can manage it.

License

Copyright © 2021 Jasen Borisov.

All code in the book is provided under the MIT-0 License.

The text of the book is provided under CC BY-NC-SA 4.0.

Exception: If used for the purpose of contribution to the Official Bevy Project and/or its Official Documentation, the entire content of the book may be used under the MIT-0 License.

Contributions

Development of the book is hosted on GitHub.

Please file GitHub Issues for any wrong/confusing/misleading information, as well as suggestions for new content you'd like to be added to the book.

Contributions are accepted, with some limitations.

See the Contributing section for all the details.

Support Bevy

If you like the Bevy Game Engine, you should consider donating to the official project, using GitHub Sponsors. Help it be sustainable!