Added touchscreen controls!

This commit is contained in:
2026-01-13 22:47:30 +01:00
parent 89a41397d1
commit 0c0998cd05
65 changed files with 1672 additions and 3270 deletions

View File

@@ -12,15 +12,6 @@ layer = 200
script = ExtResource("1_chat_ui")
[node name="ChatContainer" type="Control" parent="." unique_id=-1294967296]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="BottomLeft" type="MarginContainer" parent="ChatContainer" unique_id=-294967296]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -31,6 +22,16 @@ offset_right = 400.0
offset_bottom = -10.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 1
[node name="BottomLeft" type="MarginContainer" parent="ChatContainer" unique_id=-294967296]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="Background" type="ColorRect" parent="ChatContainer/BottomLeft" unique_id=705032704]
visible = false
@@ -40,16 +41,21 @@ color = Color(0, 0, 0, 0.5)
[node name="VBox" type="VBoxContainer" parent="ChatContainer/BottomLeft" unique_id=1705032704]
layout_mode = 2
mouse_filter = 2
[node name="MessageScroll" type="ScrollContainer" parent="ChatContainer/BottomLeft/VBox" unique_id=-1589934592]
custom_minimum_size = Vector2(380, 150)
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 1
scroll_horizontal_enabled = false
scroll_vertical_enabled = true
[node name="MessageList" type="VBoxContainer" parent="ChatContainer/BottomLeft/VBox/MessageScroll" unique_id=-589934592]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 1
[node name="ChatInput" type="LineEdit" parent="ChatContainer/BottomLeft/VBox" unique_id=1410065408]
visible = false