diff --git a/src/hud.rs b/src/hud.rs index a7f4cd0..10ef84f 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -151,7 +151,16 @@ fn setup( }; let mut bundle_fps = TextBundle::from_sections([ TextSection::new( - "OutFly Augmented Reality 电量 ", + "", + TextStyle { + font: asset_server.load(FONT), + font_size: settings.font_size_hud, + color: Color::GRAY, + ..default() + } + ), + TextSection::new( + " ⚡ ", TextStyle { font: asset_server.load(FONT), font_size: settings.font_size_hud, @@ -169,7 +178,7 @@ fn setup( } ), TextSection::new( - " 时 ", + " ☣ ", TextStyle { font: asset_server.load(FONT), font_size: settings.font_size_hud, @@ -186,33 +195,6 @@ fn setup( ..default() } ), - TextSection::new( - " 帧率 ", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - }, - ), - TextSection::new( - "", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - } - ), - TextSection::new( - "\n木星中心 ", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - }, - ), TextSection::new( "", TextStyle { @@ -240,42 +222,6 @@ fn setup( ..default() } ), - TextSection::new( - "\nAdrenaline水平 ", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - }, - ), - TextSection::new( - "", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - } - ), - TextSection::new( - "\nVitals ", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - }, - ), - TextSection::new( - "", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - } - ), TextSection::new( "\nProximity 警告 ", TextStyle { @@ -313,7 +259,7 @@ fn setup( } ), TextSection::new( - "\n相对的v ", + "\nVitals ", TextStyle { font: asset_server.load(FONT), font_size: settings.font_size_hud, @@ -330,16 +276,7 @@ fn setup( ..default() } ), - TextSection::new( - "\nTarget: ", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - }, - ), - TextSection::new( + TextSection::new( // Target "", TextStyle { font: asset_server.load(FONT), @@ -348,23 +285,6 @@ fn setup( ..default() } ), - TextSection::new( - "\n☢ HAZARD\n\n", - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - } - ), - TextSection::from_style( - TextStyle { - font: asset_server.load(FONT), - font_size: settings.font_size_hud, - color: Color::GRAY, - ..default() - } - ), ]).with_style(Style { top: Val::VMin(2.0), left: Val::VMin(3.0), @@ -473,7 +393,7 @@ fn update_hud( diagnostics: Res, time: Res