Update to Bevy 0.15

main
copygirl 3 weeks ago
parent b0e2763521
commit 3a59fd8263
  1. 1169
      Cargo.lock
  2. 2
      Cargo.toml
  3. 7
      client/src/main.rs

1169
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -8,4 +8,4 @@ members = [
[workspace.dependencies]
# TODO: Disable default features and enable what's needed in specific crates.
bevy = "0.14.*"
bevy = "0.15.*"

@ -21,9 +21,6 @@ fn main() -> AppExit {
}
fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn(Camera2dBundle::default());
commands.spawn(SpriteBundle {
texture: asset_server.load("heck.png"),
..default()
});
commands.spawn(Camera2d::default());
commands.spawn(Sprite::from_image(asset_server.load("heck.png")));
}

Loading…
Cancel
Save