From 050251da5a11c33e907fd6951deb8eb16607cf8e Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Mon, 4 Jul 2022 13:04:21 +0000 Subject: [PATCH] Add standard Bevy boilerplate to README.md (#5191) @BoxyUwU says that she always looks for this here, following the example of [tetra](https://github.com/17cupsofcoffee/tetra). I think this is a pretty sensible idea! --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 41c2f9f0ae..ff568fc1e9 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,18 @@ git checkout latest cargo run --example breakout ``` +To draw a window with standard functionality enabled, use: + +```rust +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](http://bevyengine.org/learn/book/getting-started/setup/).