mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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
1 changed files with 12 additions and 0 deletions
12
README.md
12
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/).
|
||||
|
|
Loading…
Reference in a new issue