This commit is contained in:
Rendo 2026-09-04 19:44:08 +05:00
commit 0b82aebd1f
6 changed files with 7 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

0
src/debug.rs Normal file
View file

View file

@ -8,5 +8,11 @@ mod health;
mod level;
fn main() {
App::new().add_plugins(DefaultPlugins).add_plugins(HealthPlugin).run();
App::new().add_plugins(DefaultPlugins).add_plugins(HealthPlugin).add_systems(Startup, setup).run();
}
fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn(Camera2d);
commands.spawn(Sprite::from_image(asset_server.load("sprites/background.png")));
}