This commit is contained in:
2024-10-25 13:18:37 +08:00
parent b8a1569e33
commit c87de7de5d
4 changed files with 482 additions and 152 deletions
+51 -1
View File
@@ -10,7 +10,6 @@
[node name="Main" type="Node3D"]
script = ExtResource("1_xcpe3")
turn_based_mode = false
[node name="EnhancedGridMap" type="GridMap" parent="."]
mesh_library = ExtResource("1_110wo")
@@ -45,6 +44,55 @@ offset_bottom = 59.0
grow_horizontal = 2
theme_override_styles/panel = ExtResource("5_dvx6y")
[node name="PlayerboardUI" type="GridContainer" parent="."]
custom_minimum_size = Vector2(200, 200)
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 30.0
offset_top = -230.0
offset_right = 230.0
offset_bottom = -30.0
grow_vertical = 0
columns = 5
[node name="ActionMenu" type="Control" parent="."]
layout_mode = 3
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -145.0
offset_top = -218.0
grow_horizontal = 0
grow_vertical = 0
[node name="ActionButtonContainer" type="VBoxContainer" parent="ActionMenu"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="MoveButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
layout_mode = 2
text = "Move"
[node name="GrabButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
layout_mode = 2
text = "Grab"
[node name="PutButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
layout_mode = 2
text = "Put"
[node name="RandomizeButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
layout_mode = 2
text = "Randomize"
[node name="ArrangeButton" type="Button" parent="ActionMenu/ActionButtonContainer"]
layout_mode = 2
text = "Arrange"
[node name="NetworkInfo" type="VBoxContainer" parent="."]
anchors_preset = 5
anchor_left = 0.5
@@ -130,6 +178,8 @@ alignment = 1
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("4_ky38j")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[connection signal="pressed" from="Menu/Host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="Menu/Join" to="." method="_on_join_pressed"]
[connection signal="text_submitted" from="MessageInput" to="." method="_on_message_input_text_submitted"]