feat: 完成设置部分和游戏内房主房客身份及IP地址的识别

This commit is contained in:
2026-01-06 08:12:57 +08:00
parent 7d75cd5660
commit 10e6d2d645
16 changed files with 159 additions and 5 deletions
+14 -4
View File
@@ -9,10 +9,10 @@
script = ExtResource("1_ekxnf")
[node name="Background" type="ColorRect" parent="."]
offset_left = -21.0
offset_top = -15.0
offset_right = 1186.0
offset_bottom = 654.0
offset_left = -24.0
offset_top = -22.0
offset_right = 1183.0
offset_bottom = 647.0
color = Color(0.7058824, 0.6862745, 0, 1)
[node name="Title" type="Label" parent="."]
@@ -138,8 +138,18 @@ offset_bottom = 126.0
theme_override_fonts/font = ExtResource("1_l6cm7")
text = "请输入服务器IP无需加端口"
[node name="SettingButton" type="Button" parent="."]
offset_left = 1029.0
offset_top = 14.0
offset_right = 1137.0
offset_bottom = 84.0
theme_override_fonts/font = ExtResource("1_l6cm7")
theme_override_font_sizes/font_size = 30
text = "设置"
[connection signal="pressed" from="StartGame" to="." method="_on_start_game_pressed"]
[connection signal="pressed" from="JoinGame" to="." method="_on_join_game_pressed"]
[connection signal="pressed" from="CreateGameUI/CreateGameButton" to="CreateGameUI" method="_on_create_game_button_pressed"]
[connection signal="pressed" from="CreateGameUI/Warn/WarnButton" to="CreateGameUI" method="_on_warn_button_pressed"]
[connection signal="pressed" from="JoinGameUI/JoinGameButton" to="JoinGameUI" method="_on_join_game_button_pressed"]
[connection signal="pressed" from="SettingButton" to="." method="_on_setting_button_pressed"]