mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added crosshair TODO
This commit is contained in:
parent
d186c4031e
commit
bd94baa125
@ -344,6 +344,10 @@ impl Hud {
|
|||||||
.middle_of(ui_widgets.window)
|
.middle_of(ui_widgets.window)
|
||||||
.color(Some(Color::Rgba(1.0, 1.0, 1.0, 1.0)))
|
.color(Some(Color::Rgba(1.0, 1.0, 1.0, 1.0)))
|
||||||
.set(self.ids.crosshair, ui_widgets);
|
.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
|
// Render Name Tags
|
||||||
for (pos, name) in (&entities, &pos, &stats, player.maybe())
|
for (pos, name) in (&entities, &pos, &stats, player.maybe())
|
||||||
|
Loading…
Reference in New Issue
Block a user