diff --git a/assets/sprites/reticule4.png b/assets/sprites/reticule4.png
new file mode 100644
index 0000000..a166aaa
Binary files /dev/null and b/assets/sprites/reticule4.png differ
diff --git a/media/reticule4.svg b/media/reticule4.svg
new file mode 100644
index 0000000..f15a258
--- /dev/null
+++ b/media/reticule4.svg
@@ -0,0 +1,92 @@
+
+
+
+
diff --git a/src/hud.rs b/src/hud.rs
index b0db0af..907e810 100644
--- a/src/hud.rs
+++ b/src/hud.rs
@@ -290,28 +290,31 @@ fn setup(
});
// Add Reticule
- let reticule_handle: Handle = asset_server.load("sprites/reticule3.png");
- commands.spawn(NodeBundle {
- style: Style {
- width: Val::Percent(100.0),
- height: Val::Percent(100.0),
- align_items: AlignItems::Center,
- justify_content: JustifyContent::SpaceAround,
+ let reticule_handle: Handle = asset_server.load("sprites/reticule4.png");
+ commands.spawn((
+ NodeBundle {
+ style: Style {
+ width: Val::Percent(100.0),
+ height: Val::Percent(100.0),
+ align_items: AlignItems::Center,
+ justify_content: JustifyContent::SpaceAround,
+ ..default()
+ },
+ visibility,
..default()
},
- ..default()
- }).with_children(|builder| {
+ ToggleableHudElement,
+ )).with_children(|builder| {
builder.spawn((
ImageBundle {
image: UiImage::new(reticule_handle),
style: Style {
- width: Val::VMin(3.0),
- height: Val::VMin(3.0),
+ width: Val::VMin(5.0),
+ height: Val::VMin(5.0),
..Default::default()
},
..Default::default()
},
- ToggleableHudElement,
Reticule,
));
});