From 35162cf29693c596e1c271c8d02a897f4bdb2ecb Mon Sep 17 00:00:00 2001 From: Eduardo Date: Sun, 11 Feb 2024 17:56:28 +0100 Subject: [PATCH] add a center point to the camera and a text label to display hints (as F to pick if pointing to a battery) --- levels/ui.tscn | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/levels/ui.tscn b/levels/ui.tscn index 5a34866..8f60d47 100644 --- a/levels/ui.tscn +++ b/levels/ui.tscn @@ -20,6 +20,36 @@ grow_vertical = 2 script = ExtResource("1_sm2ld") unChargeSpeedMod = 0.1 +[node name="CenterContainer" type="CenterContainer" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Label" type="Label" parent="CenterContainer"] +modulate = Color(1, 1, 1, 0.490196) +layout_mode = 2 +text = "·" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="CenterContainer2" type="CenterContainer" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_top = 40.0 +offset_bottom = 40.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="ActionText" type="Label" parent="CenterContainer2"] +layout_mode = 2 +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="HBoxContainer" type="HBoxContainer" parent="."] layout_mode = 0 offset_left = 50.0 -- 2.30.2