Skip to content

Commit 050251d

Browse files
Add standard Bevy boilerplate to README.md (bevyengine#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!
1 parent 534cad6 commit 050251d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ git checkout latest
6767
cargo run --example breakout
6868
```
6969

70+
To draw a window with standard functionality enabled, use:
71+
72+
```rust
73+
use bevy::prelude::*;
74+
75+
fn main(){
76+
App::new()
77+
.add_plugins(DefaultPlugins)
78+
.run();
79+
}
80+
```
81+
7082
### Fast Compiles
7183

7284
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/).

0 commit comments

Comments
 (0)