From 1b53a5f15fdb6c0747807b16e013098d6b950f3e Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 23 Nov 2024 17:02:45 +0100 Subject: [PATCH] aaaaa --- Cargo.lock | 10 ---------- src/game/player.rs | 4 ++++ src/game/scene.rs | 2 -- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63923bb..e387f5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -319,7 +319,6 @@ version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "043c9ad4b6fc4ca52d779873a8ca792a4e37842d07fce95363c9e17e36a1d8a0" dependencies = [ - "bevy_dylib", "bevy_internal", ] @@ -571,15 +570,6 @@ dependencies = [ "sysinfo", ] -[[package]] -name = "bevy_dylib" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c399292fac67682a72666e78872626f3c1c39b34c430b6f02c81d21da91b500" -dependencies = [ - "bevy_internal", -] - [[package]] name = "bevy_ecs" version = "0.14.2" diff --git a/src/game/player.rs b/src/game/player.rs index 106531a..63af670 100644 --- a/src/game/player.rs +++ b/src/game/player.rs @@ -19,6 +19,10 @@ pub fn add_player( asset_server: Res, ) { // TODO replace + commands.spawn(SpriteBundle { + texture: asset_server.load("assets/Blockgrau.png"), + ..Default::default() + }); commands .spawn(( diff --git a/src/game/scene.rs b/src/game/scene.rs index 8337352..4531e60 100644 --- a/src/game/scene.rs +++ b/src/game/scene.rs @@ -7,6 +7,4 @@ use crate::AppState; pub(super) fn scene_plugin(app: &mut App) { app.add_plugins(EditorPlugin::default()); - app.add_plugins(ScenePlugin); - // app.add_systems(, ) }