ChessBuilder/board.tscn
2025-01-24 20:06:23 -06:00

75 lines
1.7 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://d0qyk6v20uief"]
[ext_resource type="Script" path="res://Generator.gd" id="1_ckrtr"]
[ext_resource type="Script" path="res://Game.gd" id="1_f1l42"]
[node name="Board" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_f1l42")
[node name="Flow" type="FlowContainer" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -252.0
offset_right = -252.0
grow_horizontal = 2
script = ExtResource("1_ckrtr")
[node name="Player1Points" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -50.0
offset_top = 50.0
offset_bottom = 89.0
grow_horizontal = 0
[node name="Player2Points" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -48.0
offset_top = 100.0
offset_bottom = 140.0
grow_horizontal = 0
[node name="TurnIndicator" type="ColorRect" parent="."]
custom_minimum_size = Vector2(50, 50)
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -50.0
offset_bottom = 50.0
grow_horizontal = 0
[node name="RichTextLabel" type="RichTextLabel" parent="."]
layout_mode = 0
offset_left = 1062.0
offset_top = 65.0
offset_right = 1142.0
offset_bottom = 104.0
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -20.0
offset_top = -40.0
offset_right = 20.0
grow_horizontal = 2
grow_vertical = 0
[connection signal="send_location" from="Flow" to="." method="_on_flow_send_location"]