39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://g40y10iaf7qb"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Controllers/ChessGame.cs" id="1_3x8ac"]
|
|
[ext_resource type="PackedScene" uid="uid://b1tx7v3230wab" path="res://Scenes/Entities/Chessboard.tscn" id="1_yheur"]
|
|
|
|
[node name="ChessGame" type="Node2D"]
|
|
script = ExtResource("1_3x8ac")
|
|
|
|
[node name="Chessboard" parent="." instance=ExtResource("1_yheur")]
|
|
position = Vector2(360, 660)
|
|
scale = Vector2(2.5, 2.5)
|
|
|
|
[node name="Undo" type="Button" parent="."]
|
|
offset_left = 200.0
|
|
offset_top = 50.0
|
|
offset_right = 300.0
|
|
offset_bottom = 150.0
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "撤回"
|
|
|
|
[node name="ReInit" type="Button" parent="."]
|
|
offset_left = 450.0
|
|
offset_top = 50.0
|
|
offset_right = 550.0
|
|
offset_bottom = 150.0
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "重开"
|
|
|
|
[node name="Home" type="Button" parent="."]
|
|
offset_left = 310.0
|
|
offset_top = 1108.0
|
|
offset_right = 412.0
|
|
offset_bottom = 1226.0
|
|
text = "返回主页"
|
|
|
|
[connection signal="pressed" from="Undo" to="." method="Undo"]
|
|
[connection signal="pressed" from="ReInit" to="." method="ReInit"]
|
|
[connection signal="pressed" from="Home" to="." method="GoHome"]
|