online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/board/Board.tscn')
-rw-r--r--ui/board/Board.tscn81
1 files changed, 81 insertions, 0 deletions
diff --git a/ui/board/Board.tscn b/ui/board/Board.tscn
new file mode 100644
index 0000000..a9871dc
--- /dev/null
+++ b/ui/board/Board.tscn
@@ -0,0 +1,81 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://ui/board/Board.gd" type="Script" id=1]
+[ext_resource path="res://ui/board/Arrows.gd" type="Script" id=2]
+
+[node name="Board" type="AspectRatioContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_right = -1122.0
+margin_bottom = -500.0
+rect_min_size = Vector2( 600, 600 )
+mouse_filter = 2
+size_flags_horizontal = 3
+size_flags_vertical = 3
+alignment_horizontal = 0
+alignment_vertical = 0
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_group_": true
+}
+overlay_color = Color( 0.0784314, 0.333333, 0.117647, 0.498039 )
+premove_color = Color( 0.55575, 0.455, 0.65, 0.784314 )
+last_move_indicator_color = Color( 0.74902, 0.662745, 0.223529, 0.498039 )
+last_move_take_indicator = Color( 0.74902, 0.407843, 0.223529, 0.498039 )
+clockrunning_color = Color( 0.219608, 0.278431, 0.133333, 1 )
+clockrunninglow = Color( 0.47451, 0.172549, 0.164706, 1 )
+clocklow = Color( 0.313726, 0.156863, 0.14902, 1 )
+
+[node name="Background" type="GridContainer" parent="."]
+margin_right = 600.0
+margin_bottom = 600.0
+mouse_filter = 2
+custom_constants/vseparation = 0
+custom_constants/hseparation = 0
+columns = 8
+
+[node name="Pieces" type="Control" parent="."]
+margin_right = 600.0
+margin_bottom = 600.0
+mouse_filter = 2
+
+[node name="Canvas" type="ViewportContainer" parent="."]
+modulate = Color( 1, 1, 1, 0.588235 )
+margin_right = 600.0
+margin_bottom = 600.0
+mouse_filter = 2
+stretch = true
+
+[node name="Viewport" type="Viewport" parent="Canvas"]
+size = Vector2( 600, 600 )
+transparent_bg = true
+handle_input_locally = false
+disable_3d = true
+usage = 0
+render_target_update_mode = 3
+shadow_atlas_quad_0 = 0
+shadow_atlas_quad_1 = 0
+shadow_atlas_quad_2 = 0
+shadow_atlas_quad_3 = 0
+
+[node name="Arrows" type="Control" parent="Canvas/Viewport"]
+unique_name_in_owner = true
+script = ExtResource( 2 )
+red_overlay = Color( 0.729412, 0.254902, 0.254902, 1 )
+green_overlay = Color( 0.1272, 0.53, 0.18762, 1 )
+
+[node name="Foreground" type="GridContainer" parent="."]
+margin_right = 600.0
+margin_bottom = 600.0
+mouse_filter = 2
+columns = 8
+
+[node name="Darken" type="ColorRect" parent="."]
+visible = false
+margin_right = 600.0
+margin_bottom = 600.0
+mouse_filter = 2
+mouse_default_cursor_shape = 8
+color = Color( 0, 0, 0, 0.784314 )
+
+[connection signal="resized" from="." to="." method="_resized"]