From bd94baa12506f1cb271c014d608614ea6e8b467b Mon Sep 17 00:00:00 2001 From: Pfauenauge Date: Fri, 5 Jul 2019 17:08:43 +0200 Subject: [PATCH] Added crosshair TODO --- voxygen/src/hud/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index 30b366bee5..563568b99a 100644 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -344,6 +344,10 @@ impl Hud { .middle_of(ui_widgets.window) .color(Some(Color::Rgba(1.0, 1.0, 1.0, 1.0))) .set(self.ids.crosshair, ui_widgets); + /* TODO: + 95% translucency outside of combat + When having a distance weapon as your active weapon/being in build mode -> adjust the camera to an over the shoulder (overhead?!) perspective to avoid the character blocking the view + Crosshair should be completely invisible when the player doesn't have a ranged weapon (equipped as the primary weapon in the char window) or is in build mode*/ // Render Name Tags for (pos, name) in (&entities, &pos, &stats, player.maybe())