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!
This commit is contained in:
parent
534cad611d
commit
050251da5a
12
README.md
12
README.md
@ -67,6 +67,18 @@ git checkout latest
|
|||||||
cargo run --example breakout
|
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
|
### 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/).
|
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/).
|
||||||
|
Loading…
Reference in New Issue
Block a user