before fog of war

This commit is contained in:
2026-01-17 11:12:32 +01:00
parent 189dc2042c
commit 454c065cf3
9 changed files with 130 additions and 36 deletions

View File

@@ -141,7 +141,6 @@ horizontal_alignment = 1
[node name="LabelRoomCode" type="Label" parent="UpperRight/HBoxContainer/VBoxContainerHost" unique_id=1807484689]
layout_mode = 2
theme = SubResource("Theme_standard_font")
text = ""
horizontal_alignment = 1
[node name="VBoxContainerBoss" type="VBoxContainer" parent="UpperRight/HBoxContainer" unique_id=1933444957]
@@ -159,11 +158,9 @@ layout_mode = 2
texture_progress = ExtResource("4_hearts_filled")
[node name="CenterTop" type="MarginContainer" parent="." unique_id=22752256]
anchors_preset = 7
anchors_preset = 5
anchor_left = 0.5
anchor_top = 0.0
anchor_right = 0.5
anchor_bottom = 0.0
offset_left = -150.0
offset_top = 8.0
offset_right = 150.0
@@ -171,13 +168,13 @@ offset_bottom = 28.0
grow_horizontal = 2
theme = SubResource("Theme_standard_font")
[node name="LabelDisconnected" type="Label" parent="CenterTop" unique_id=869912310]
[node name="LabelDisconnected" type="Label" parent="CenterTop" unique_id=1260056884]
visible = false
layout_mode = 2
theme = SubResource("Theme_standard_font")
text = "Disconnected - Reconnecting..."
horizontal_alignment = 1
vertical_alignment = 1
visible = false
[node name="MobileInput" type="Control" parent="." unique_id=1373461519]
layout_mode = 3
@@ -215,9 +212,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -40.0
offset_top = -20.0
offset_bottom = 20.0
offset_left = -320.0
offset_top = -160.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
@@ -228,13 +225,12 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -205.765
offset_top = -94.475
offset_right = -5.7649994
offset_bottom = 25.525024
offset_left = -320.0
offset_top = -160.0
offset_bottom = 160.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/margin_right = 42
theme_override_constants/margin_right = 0
[node name="B_ButtonContainer" type="Control" parent="MobileInput/Control/MarginContainer" unique_id=297390115]
layout_mode = 2
@@ -244,9 +240,9 @@ layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -32.0
offset_right = 64.0
offset_bottom = 32.0
offset_top = -64.0
offset_right = 128.0
offset_bottom = 64.0
grow_vertical = 2
theme_override_styles/panel = ExtResource("8_yeruy")
@@ -288,9 +284,9 @@ anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -32.0
offset_bottom = 32.0
offset_left = -128.0
offset_top = -64.0
offset_bottom = 64.0
grow_horizontal = 0
grow_vertical = 2
theme_override_styles/panel = ExtResource("8_yeruy")
@@ -323,4 +319,46 @@ touchscreen_only = true
input_action = "grab"
metadata/_custom_type_script = "uid://bh5a3ydiu51eo"
[node name="X_ButtonContainer" type="Control" parent="MobileInput/Control/MarginContainer" unique_id=1591990397]
layout_mode = 2
[node name="X_Circle" type="Panel" parent="MobileInput/Control/MarginContainer/X_ButtonContainer" unique_id=325379818]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -64.0
offset_right = 64.0
offset_bottom = 128.0
grow_horizontal = 2
theme_override_styles/panel = ExtResource("8_yeruy")
[node name="X_Label" type="Label" parent="MobileInput/Control/MarginContainer/X_ButtonContainer/X_Circle" unique_id=1443974385]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "X"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TouchScreenButtonControl" type="TextureButton" parent="MobileInput/Control/MarginContainer/X_ButtonContainer/X_Circle" unique_id=1520840278]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 0
mouse_filter = 2
action_mode = 0
ignore_texture_size = true
stretch_mode = 5
script = ExtResource("8_cu5yl")
touchscreen_only = true
input_action = "attack"
metadata/_custom_type_script = "uid://bh5a3ydiu51eo"
[connection signal="analogic_changed" from="MobileInput/VirtualJoystick" to="MobileInput" method="_on_virtual_joystick_analogic_changed"]