[gd_scene load_steps=51 format=2]
[ext_resource path="res://Game.gd" type="Script" id=1]
[ext_resource path="res://assets/ui/whitespace.png" type="Texture" id=2]
[ext_resource path="res://ui/theme/transblack.tres" type="StyleBox" id=3]
[ext_resource path="res://ui/FENlabel.gd" type="Script" id=4]
[ext_resource path="res://ui/barbutton/resignbutton.gd" type="Script" id=5]
[ext_resource path="res://ui/Status.gd" type="Script" id=6]
[ext_resource path="res://ui/theme/flatblack.tres" type="StyleBox" id=7]
[ext_resource path="res://ui/barbutton/BarTextureButton.tscn" type="PackedScene" id=8]
[ext_resource path="res://ui/chat/Chat.tscn" type="PackedScene" id=9]
[ext_resource path="res://ui/theme/main.tres" type="Theme" id=10]
[ext_resource path="res://assets/ui/verdana-bold.ttf" type="DynamicFontData" id=11]
[ext_resource path="res://ui/theme/buttonhover.tres" type="StyleBox" id=12]
[ext_resource path="res://assets/ui/verdana.ttf" type="DynamicFontData" id=13]
[ext_resource path="res://ui/theme/button.tres" type="StyleBox" id=14]
[ext_resource path="res://assets/ui/button.png" type="Texture" id=15]
[ext_resource path="res://assets/ui/checkedbox.png" type="Texture" id=16]
[ext_resource path="res://assets/ui/CascadiaCode.ttf" type="DynamicFontData" id=17]
[ext_resource path="res://assets/ui/verdana-bold-italic.ttf" type="DynamicFontData" id=18]
[ext_resource path="res://ui/barbutton/drawbutton.gd" type="Script" id=19]
[ext_resource path="res://ui/Timer.gd" type="Script" id=20]
[ext_resource path="res://ui/TimerLabels.gd" type="Script" id=21]
[ext_resource path="res://ui/sandisplay/SanDisplay.tscn" type="PackedScene" id=22]
[ext_resource path="res://assets/ui/Roboto-Medium.ttf" type="DynamicFontData" id=23]
[ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=24]
[ext_resource path="res://assets/ui/draw.png" type="Texture" id=25]
[ext_resource path="res://assets/ui/flip_board.png" type="Texture" id=26]
[ext_resource path="res://ui/barbutton/flipbutton.gd" type="Script" id=27]
[ext_resource path="res://assets/ui/flag.png" type="Texture" id=28]
[ext_resource path="res://Board.tscn" type="PackedScene" id=29]
[sub_resource type="StyleBoxTexture" id=6]
texture = ExtResource( 15 )
region_rect = Rect2( 0, 0, 84, 84 )
margin_left = 28.0
margin_right = 28.0
margin_top = 28.0
margin_bottom = 28.0
modulate_color = Color( 0.772549, 0.772549, 0.772549, 0.54902 )
[sub_resource type="StyleBoxEmpty" id=7]
[sub_resource type="StyleBoxEmpty" id=8]
[sub_resource type="StyleBoxEmpty" id=9]
[sub_resource type="StyleBoxEmpty" id=4]
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.0784314, 0.0784314, 0.0784314, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 1, 1, 1, 1 )
corner_detail = 20
expand_margin_left = 10.0
expand_margin_right = 10.0
[sub_resource type="DynamicFont" id=18]
size = 20
font_data = ExtResource( 11 )
[sub_resource type="DynamicFont" id=19]
size = 20
font_data = ExtResource( 18 )
[sub_resource type="DynamicFont" id=14]
size = 20
font_data = ExtResource( 17 )
[sub_resource type="DynamicFont" id=20]
size = 25
font_data = ExtResource( 13 )
[sub_resource type="StyleBoxFlat" id=10]
content_margin_left = 30.0
content_margin_right = 30.0
content_margin_top = 30.0
content_margin_bottom = 30.0
bg_color = Color( 0, 0, 0, 0.313726 )
border_blend = true
corner_radius_top_left = 50
corner_radius_top_right = 50
corner_radius_bottom_right = 30
corner_radius_bottom_left = 30
corner_detail = 15
[sub_resource type="StyleBoxFlat" id=12]
content_margin_left = 10.0
content_margin_right = 10.0
bg_color = Color( 0, 0, 0, 0.313726 )
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 1
border_color = Color( 0, 0, 0, 0.392157 )
[sub_resource type="StyleBoxFlat" id=11]
content_margin_left = 10.0
content_margin_right = 10.0
bg_color = Color( 0.188235, 0.188235, 0.188235, 1 )
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 1
border_color = Color( 0, 0, 0, 0.392157 )
[sub_resource type="StyleBoxEmpty" id=5]
[sub_resource type="StyleBoxFlat" id=13]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0, 0, 0, 0.588235 )
border_width_top = 65
border_color = Color( 0.180392, 0.180392, 0.180392, 1 )
corner_radius_top_left = 30
corner_radius_top_right = 30
corner_radius_bottom_right = 30
corner_radius_bottom_left = 30
corner_detail = 15
expand_margin_top = 65.0
[sub_resource type="DynamicFont" id=15]
size = 20
font_data = ExtResource( 11 )
[sub_resource type="Theme" id=16]
default_font = SubResource( 15 )
Button/colors/font_color = Color( 1, 1, 1, 1 )
Button/colors/font_color_disabled = Color( 1, 1, 1, 0.305882 )
Button/colors/font_color_focus = Color( 1, 1, 1, 1 )
Button/colors/font_color_hover = Color( 0, 0, 0, 1 )
Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
Button/styles/disabled = SubResource( 6 )
Button/styles/focus = ExtResource( 14 )
Button/styles/hover = ExtResource( 12 )
Button/styles/normal = ExtResource( 14 )
Button/styles/pressed = ExtResource( 14 )
CheckBox/icons/checked = ExtResource( 16 )
CheckBox/icons/checked_disabled = null
CheckBox/icons/radio_checked = null
CheckBox/icons/radio_checked_disabled = null
CheckBox/icons/radio_unchecked = null
CheckBox/icons/radio_unchecked_disabled = null
CheckBox/icons/unchecked = ExtResource( 15 )
CheckBox/icons/unchecked_disabled = null
ColorPicker/icons/color_sample = ExtResource( 2 )
ColorPicker/icons/overbright_indicator = ExtResource( 2 )
ColorPicker/icons/preset_bg = ExtResource( 2 )
ColorPicker/icons/screen_picker = ExtResource( 2 )
ColorPickerButton/colors/font_color = Color( 1, 1, 1, 1 )
ColorPickerButton/colors/font_color_disabled = Color( 1, 1, 1, 0.301961 )
ColorPickerButton/colors/font_color_focus = Color( 1, 1, 1, 1 )
ColorPickerButton/colors/font_color_hover = Color( 1, 1, 1, 1 )
ColorPickerButton/colors/font_color_pressed = Color( 0.913725, 0.913725, 0.913725, 1 )
ColorPickerButton/icons/bg = ExtResource( 2 )
HBoxContainer/constants/separation = 15
HSlider/styles/grabber_area = SubResource( 7 )
HSlider/styles/grabber_area_highlight = SubResource( 8 )
HSlider/styles/slider = SubResource( 9 )
ItemList/colors/font_color = Color( 1, 1, 1, 1 )
ItemList/colors/font_color_selected = Color( 0.905882, 0.905882, 0.905882, 1 )
ItemList/styles/bg = SubResource( 4 )
ItemList/styles/bg_focus = ExtResource( 7 )
LineEdit/colors/cursor_color = Color( 1, 1, 1, 1 )
LineEdit/colors/font_color = Color( 1, 1, 1, 1 )
LineEdit/colors/font_color_uneditable = Color( 1, 1, 1, 0.67451 )
LineEdit/styles/focus = ExtResource( 14 )
LineEdit/styles/normal = ExtResource( 14 )
LineEdit/styles/read_only = ExtResource( 14 )
OptionButton/colors/font_color = Color( 1, 1, 1, 1 )
OptionButton/colors/font_color_focus = Color( 1, 1, 1, 1 )
OptionButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
OptionButton/colors/font_color_pressed = Color( 1, 1, 1, 1 )
OptionButton/icons/arrow = ExtResource( 2 )
PopupMenu/colors/font_color = Color( 1, 1, 1, 1 )
PopupMenu/colors/font_color_accel = Color( 1, 1, 1, 0.8 )
PopupMenu/colors/font_color_hover = Color( 1, 1, 1, 1 )
PopupMenu/colors/font_color_separator = Color( 0.262745, 0.262745, 0.262745, 1 )
PopupMenu/icons/radio_checked = ExtResource( 2 )
PopupMenu/icons/radio_unchecked = ExtResource( 2 )
PopupMenu/styles/hover = SubResource( 3 )
PopupMenu/styles/panel = ExtResource( 7 )
PopupPanel/styles/panel = ExtResource( 3 )
RichTextLabel/colors/default_color = Color( 1, 1, 1, 1 )
RichTextLabel/fonts/bold_font = SubResource( 18 )
RichTextLabel/fonts/bold_italics_font = SubResource( 19 )
RichTextLabel/fonts/italics_font = SubResource( 19 )
RichTextLabel/fonts/mono_font = SubResource( 14 )
RichTextLabel/fonts/normal_font = SubResource( 20 )
SpinBox/icons/updown = ExtResource( 2 )
TabContainer/colors/font_color_bg = Color( 0.709804, 0.709804, 0.709804, 0.72549 )
TabContainer/colors/font_color_fg = Color( 1, 1, 1, 1 )
TabContainer/styles/panel = SubResource( 10 )
TabContainer/styles/tab_bg = SubResource( 12 )
TabContainer/styles/tab_fg = SubResource( 11 )
VBoxContainer/constants/separation = 15
VScrollBar/styles/scroll = SubResource( 5 )
WindowDialog/colors/title_color = Color( 1, 1, 1, 1 )
WindowDialog/constants/close_h_ofs = 0
WindowDialog/constants/close_v_ofs = 0
WindowDialog/constants/title_height = 60
WindowDialog/icons/close = ExtResource( 2 )
WindowDialog/icons/close_highlight = ExtResource( 2 )
WindowDialog/styles/panel = SubResource( 13 )
[sub_resource type="DynamicFont" id=1]
size = 35
font_data = ExtResource( 23 )
[sub_resource type="StyleBoxFlat" id=21]
bg_color = Color( 0, 0, 0, 1 )
[sub_resource type="DynamicFont" id=22]
size = 15
font_data = ExtResource( 23 )
[sub_resource type="DynamicFont" id=23]
size = 40
font_data = ExtResource( 23 )
[node name="Game" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
script = ExtResource( 1 )
[node name="Holder" type="HBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 10 )
custom_constants/separation = 0
[node name="Spacer" type="Control" parent="Holder"]
margin_right = 300.0
margin_bottom = 800.0
rect_min_size = Vector2( 300, 0 )
mouse_filter = 2
theme = SubResource( 16 )
[node name="middle" type="VBoxContainer" parent="Holder"]
margin_left = 300.0
margin_right = 940.0
margin_bottom = 800.0
rect_min_size = Vector2( 640, 640 )
mouse_filter = 2
custom_constants/separation = 0
[node name="Board" parent="Holder/middle" instance=ExtResource( 29 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 640.0
margin_bottom = 640.0
rect_min_size = Vector2( 640, 640 )
status = NodePath("../../SidebarRight/VBox/Status")
[node name="Chat" parent="Holder/middle" instance=ExtResource( 9 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 640.0
margin_right = 640.0
margin_bottom = 800.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="SidebarRight" type="ColorRect" parent="Holder"]
margin_left = 940.0
margin_right = 1422.0
margin_bottom = 800.0
rect_min_size = Vector2( 300, 0 )
size_flags_horizontal = 3
color = Color( 0.141176, 0.141176, 0.141176, 0.784314 )
[node name="VBox" type="VBoxContainer" parent="Holder/SidebarRight"]
anchor_right = 1.0
anchor_bottom = 1.0
alignment = 1
__meta__ = {
"_edit_lock_": true
}
[node name="BlackTime" type="Label" parent="Holder/SidebarRight/VBox"]
visible = false
margin_top = 218.0
margin_right = 624.0
margin_bottom = 301.0
custom_fonts/font = ExtResource( 24 )
text = "00:00.0"
align = 1
valign = 1
script = ExtResource( 21 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="ColorRect" type="ColorRect" parent="Holder/SidebarRight/VBox/BlackTime"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 72.0
margin_right = -72.0
color = Color( 0, 0, 0, 1 )
[node name="MovesList" parent="Holder/SidebarRight/VBox" instance=ExtResource( 22 )]
margin_top = 239.0
margin_right = 482.0
margin_bottom = 439.0
[node name="Status" type="Label" parent="Holder/SidebarRight/VBox"]
margin_top = 454.0
margin_right = 482.0
margin_bottom = 496.0
custom_fonts/font = SubResource( 1 )
align = 1
autowrap = true
script = ExtResource( 6 )
[node name="buttonbarholder" type="Control" parent="Holder/SidebarRight/VBox"]
margin_top = 511.0
margin_right = 482.0
margin_bottom = 561.0
rect_min_size = Vector2( 50, 50 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="Panel" type="Panel" parent="Holder/SidebarRight/VBox/buttonbarholder"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 21 )
[node name="buttonbar" type="HBoxContainer" parent="Holder/SidebarRight/VBox/buttonbarholder"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 0
alignment = 1
[node name="FlipBoard" parent="Holder/SidebarRight/VBox/buttonbarholder/buttonbar" instance=ExtResource( 8 )]
margin_left = 166.0
margin_right = 216.0
texture_normal = ExtResource( 26 )
script = ExtResource( 27 )
[node name="DrawButton" parent="Holder/SidebarRight/VBox/buttonbarholder/buttonbar" instance=ExtResource( 8 )]
margin_left = 216.0
margin_right = 266.0
texture_normal = ExtResource( 25 )
script = ExtResource( 19 )
status = NodePath("../../../Status")
[node name="ResignButton" parent="Holder/SidebarRight/VBox/buttonbarholder/buttonbar" instance=ExtResource( 8 )]
margin_left = 266.0
margin_right = 316.0
texture_normal = ExtResource( 28 )
script = ExtResource( 5 )
status = NodePath("../../../Status")
[node name="WhiteTime" type="Label" parent="Holder/SidebarRight/VBox"]
visible = false
margin_top = 498.0
margin_right = 624.0
margin_bottom = 581.0
custom_fonts/font = ExtResource( 24 )
text = "00:00.0"
align = 1
valign = 1
script = ExtResource( 21 )
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
white = true
[node name="ColorRect" type="ColorRect" parent="Holder/SidebarRight/VBox/WhiteTime"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 72.0
margin_right = -72.0
color = Color( 0, 0, 0, 1 )
[node name="Timer" type="Node" parent="Holder/SidebarRight/VBox"]
script = ExtResource( 20 )
[node name="Spacer" type="Control" parent="Holder/SidebarRight/VBox"]
visible = false
margin_top = 530.0
margin_right = 624.0
margin_bottom = 550.0
rect_min_size = Vector2( 0, 20 )
[node name="FENlabel" type="LineEdit" parent="Holder/SidebarRight/VBox"]
visible = false
margin_left = 58.0
margin_top = 503.0
margin_right = 566.0
margin_bottom = 577.0
size_flags_horizontal = 4
custom_colors/font_color_uneditable = Color( 1, 1, 1, 1 )
custom_fonts/font = SubResource( 22 )
text = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
align = 1
editable = false
expand_to_text_length = true
context_menu_enabled = false
placeholder_text = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
caret_blink = true
caret_blink_speed = 0.5
script = ExtResource( 4 )
[node name="Label" type="Label" parent="Holder/SidebarRight/VBox/FENlabel"]
margin_top = -49.0
margin_right = 508.0
margin_bottom = 11.0
custom_fonts/font = SubResource( 23 )
text = "fen"
align = 1
valign = 2
[node name="Darken" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -400.0
color = Color( 0, 0, 0, 0.784314 )