online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
| -rw-r--r-- | ui/GameUI.tscn | 208 |
1 files changed, 0 insertions, 208 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn deleted file mode 100644 index 497a4f1..0000000 --- a/ui/GameUI.tscn +++ /dev/null @@ -1,208 +0,0 @@ -[gd_scene load_steps=21 format=2] - -[ext_resource path="res://ui/theme/main.tres" type="Theme" id=1] -[ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=2] -[ext_resource path="res://assets/ui/Roboto-Medium.ttf" type="DynamicFontData" id=3] -[ext_resource path="res://ui/TimerLabels.gd" type="Script" id=4] -[ext_resource path="res://ui/Timer.gd" type="Script" id=5] -[ext_resource path="res://ui/sandisplay/SanDisplay.tscn" type="PackedScene" id=6] -[ext_resource path="res://ui/Status.gd" type="Script" id=7] -[ext_resource path="res://ui/barbutton/drawbutton.gd" type="Script" id=8] -[ext_resource path="res://assets/ui/draw.png" type="Texture" id=9] -[ext_resource path="res://ui/GameUI.gd" type="Script" id=10] -[ext_resource path="res://ui/barbutton/resignbutton.gd" type="Script" id=13] -[ext_resource path="res://ui/FENlabel.gd" type="Script" id=15] -[ext_resource path="res://ui/barbutton/BarTextureButton.tscn" type="PackedScene" id=16] -[ext_resource path="res://assets/ui/flip_board.png" type="Texture" id=17] -[ext_resource path="res://ui/barbutton/flipbutton.gd" type="Script" id=18] -[ext_resource path="res://assets/ui/flag.png" type="Texture" id=19] - -[sub_resource type="DynamicFont" id=1] -size = 35 -font_data = ExtResource( 3 ) - -[sub_resource type="StyleBoxFlat" id=10] -bg_color = Color( 0, 0, 0, 1 ) - -[sub_resource type="DynamicFont" id=8] -size = 15 -font_data = ExtResource( 3 ) - -[sub_resource type="DynamicFont" id=9] -size = 40 -font_data = ExtResource( 3 ) - -[node name="GameUI" type="CanvasLayer"] -script = ExtResource( 10 ) - -[node name="Holder" type="Control" parent="."] -anchor_left = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_left = -622.0 -margin_right = 2.0 -theme = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} - -[node name="Back" type="ColorRect" parent="Holder"] -anchor_right = 1.0 -anchor_bottom = 1.0 -color = Color( 0.141176, 0.141176, 0.141176, 0.784314 ) -__meta__ = { -"_edit_lock_": true -} - -[node name="VBox" type="VBoxContainer" parent="Holder/Back"] -anchor_right = 1.0 -anchor_bottom = 1.0 -alignment = 1 -__meta__ = { -"_edit_lock_": true -} - -[node name="BlackTime" type="Label" parent="Holder/Back/VBox"] -visible = false -margin_top = 218.0 -margin_right = 624.0 -margin_bottom = 301.0 -custom_fonts/font = ExtResource( 2 ) -text = "00:00.0" -align = 1 -valign = 1 -script = ExtResource( 4 ) -__meta__ = { -"_edit_group_": true, -"_edit_lock_": true -} - -[node name="ColorRect" type="ColorRect" parent="Holder/Back/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/Back/VBox" instance=ExtResource( 6 )] -margin_top = 239.0 -margin_right = 624.0 -margin_bottom = 439.0 - -[node name="Status" type="Label" parent="Holder/Back/VBox"] -margin_top = 454.0 -margin_right = 624.0 -margin_bottom = 496.0 -custom_fonts/font = SubResource( 1 ) -align = 1 -autowrap = true -script = ExtResource( 7 ) - -[node name="buttonbarholder" type="Control" parent="Holder/Back/VBox"] -margin_top = 511.0 -margin_right = 624.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/Back/VBox/buttonbarholder"] -anchor_right = 1.0 -anchor_bottom = 1.0 -custom_styles/panel = SubResource( 10 ) - -[node name="buttonbar" type="HBoxContainer" parent="Holder/Back/VBox/buttonbarholder"] -anchor_right = 1.0 -anchor_bottom = 1.0 -custom_constants/separation = 0 -alignment = 1 - -[node name="FlipBoard" parent="Holder/Back/VBox/buttonbarholder/buttonbar" instance=ExtResource( 16 )] -margin_left = 237.0 -margin_right = 287.0 -texture_normal = ExtResource( 17 ) -script = ExtResource( 18 ) - -[node name="DrawButton" parent="Holder/Back/VBox/buttonbarholder/buttonbar" instance=ExtResource( 16 )] -margin_left = 287.0 -margin_right = 337.0 -texture_normal = ExtResource( 9 ) -script = ExtResource( 8 ) -status = NodePath("../../../Status") - -[node name="ResignButton" parent="Holder/Back/VBox/buttonbarholder/buttonbar" instance=ExtResource( 16 )] -margin_left = 337.0 -margin_right = 387.0 -texture_normal = ExtResource( 19 ) -script = ExtResource( 13 ) -status = NodePath("../../../Status") - -[node name="WhiteTime" type="Label" parent="Holder/Back/VBox"] -visible = false -margin_top = 498.0 -margin_right = 624.0 -margin_bottom = 581.0 -custom_fonts/font = ExtResource( 2 ) -text = "00:00.0" -align = 1 -valign = 1 -script = ExtResource( 4 ) -__meta__ = { -"_edit_group_": true, -"_edit_lock_": true -} -white = true - -[node name="ColorRect" type="ColorRect" parent="Holder/Back/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/Back/VBox"] -script = ExtResource( 5 ) - -[node name="Spacer" type="Control" parent="Holder/Back/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/Back/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( 8 ) -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" -script = ExtResource( 15 ) - -[node name="Label" type="Label" parent="Holder/Back/VBox/FENlabel"] -margin_top = -49.0 -margin_right = 508.0 -margin_bottom = 11.0 -custom_fonts/font = SubResource( 9 ) -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 ) |