Hello, Bevy!
This commit is contained in:
parent
4590ebb729
commit
d7f0070a64
4 changed files with 6015 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/target
|
||||||
5987
Cargo.lock
generated
Normal file
5987
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
22
Cargo.toml
Normal file
22
Cargo.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
[package]
|
||||||
|
name = "pong"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
bevy = "0.19.0"
|
||||||
|
|
||||||
|
# Enable some optimization in development so the game runs well.
|
||||||
|
# Enable more optimization for dependencies because they change less often.
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 1
|
||||||
|
package."*".opt-level = 3
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
lto = "thin"
|
||||||
|
|
||||||
|
[profile.wasm-release]
|
||||||
|
inherits = "release"
|
||||||
|
opt-level = "s" # TODO: compare with "z"
|
||||||
|
strip = "debuginfo"
|
||||||
5
src/main.rs
Normal file
5
src/main.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
use bevy::prelude::*;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
App::new().run();
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue