From: Eduardo Date: Sun, 11 Feb 2024 16:56:28 +0000 (+0100) Subject: add a center point to the camera and a text label to display hints (as F to pick... X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=35162cf29693c596e1c271c8d02a897f4bdb2ecb;p=ScaryGame.git add a center point to the camera and a text label to display hints (as F to pick if pointing to a battery) --- 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