use bevy::{prelude::*, window::WindowDescriptor};
fn main() {
App::new()
.insert_resource(ClearColor(Color::NONE))
.insert_resource(WindowDescriptor {
transparent: true,
decorations: false,
..Default::default()
})
.add_startup_system(setup)
.add_plugins(DefaultPlugins)
.run();
}
fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn_bundle(OrthographicCameraBundle::new_2d());
commands.spawn_bundle(SpriteBundle {
texture: asset_server.load("branding/icon.png"),
..Default::default()
});
}