chinese_chess/Main.tscn

51 lines
1.3 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://boa4od72355o4"]
[ext_resource type="Script" path="res://Main.cs" id="1_h4cv2"]
[ext_resource type="Theme" uid="uid://c53fg2fg071yp" path="res://Asserts/defalutTheme.tres" id="2_8jwne"]
[node name="Main" type="Node2D"]
script = ExtResource("1_h4cv2")
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
theme = ExtResource("2_8jwne")
[node name="SignlePlayer" type="Button" parent="Control"]
layout_mode = 0
offset_left = 83.0
offset_top = 671.0
offset_right = 298.0
offset_bottom = 850.0
text = "单人"
[node name="MultiPlayer" type="Button" parent="Control"]
layout_mode = 0
offset_left = 406.0
offset_top = 670.0
offset_right = 612.0
offset_bottom = 852.0
text = "多人"
[node name="Label" type="Label" parent="Control"]
layout_mode = 0
offset_left = 210.0
offset_top = 312.0
offset_right = 520.0
offset_bottom = 498.0
text = "中国象棋"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Setting" type="Button" parent="Control"]
visible = false
layout_mode = 0
offset_left = 249.0
offset_top = 1034.0
offset_right = 432.0
offset_bottom = 1201.0
text = "设置"
[connection signal="pressed" from="Control/SignlePlayer" to="." method="GoToSignlePlayer"]
[connection signal="pressed" from="Control/MultiPlayer" to="." method="GoToMultiPlayer"]