online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/board/Game.tscn')
| -rw-r--r-- | ui/board/Game.tscn | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/ui/board/Game.tscn b/ui/board/Game.tscn new file mode 100644 index 0000000..f1b59b1 --- /dev/null +++ b/ui/board/Game.tscn @@ -0,0 +1,98 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=1] +[ext_resource path="res://ui/menus/sidebarright/SidebarRight.tscn" type="PackedScene" id=2] +[ext_resource path="res://ui/chat/Chat.tscn" type="PackedScene" id=3] +[ext_resource path="res://ui/board/Game.gd" type="Script" id=4] +[ext_resource path="res://ui/board/Board.tscn" type="PackedScene" id=5] +[ext_resource path="res://ui/board/BackButton.gd" type="Script" id=6] + +[sub_resource type="StyleBoxFlat" id=1] +content_margin_left = 10.0 +content_margin_right = 10.0 +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color( 0, 0.168627, 0.211765, 0.392157 ) +border_width_left = 3 +border_width_top = 3 +border_width_right = 3 +border_width_bottom = 3 +border_color = Color( 0.0286, 0.21372, 0.26, 0.588235 ) + +[node name="Game" type="MarginContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +script = ExtResource( 4 ) + +[node name="Holder" type="HBoxContainer" parent="."] +margin_right = 1422.0 +margin_bottom = 800.0 +mouse_filter = 2 +theme = ExtResource( 1 ) +custom_constants/separation = 0 +alignment = 2 + +[node name="Chat" parent="Holder" instance=ExtResource( 3 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 382.0 +margin_bottom = 800.0 +rect_min_size = Vector2( 350, 0 ) + +[node name="middle" type="VBoxContainer" parent="Holder"] +margin_left = 382.0 +margin_right = 1082.0 +margin_bottom = 800.0 +rect_min_size = Vector2( 640, 640 ) +mouse_filter = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 +custom_constants/separation = 0 + +[node name="Container" type="AspectRatioContainer" parent="Holder/middle"] +margin_right = 700.0 +margin_bottom = 800.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +alignment_horizontal = 2 + +[node name="Board" parent="Holder/middle/Container" instance=ExtResource( 5 )] +unique_name_in_owner = true +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 50.0 +margin_right = 700.0 +margin_bottom = 750.0 +rect_min_size = Vector2( 700, 700 ) + +[node name="BackButton" type="CenterContainer" parent="Holder/middle" groups=["backbutton", "showongameover"]] +visible = false +margin_top = 720.0 +margin_right = 700.0 +margin_bottom = 800.0 +rect_min_size = Vector2( 0, 80 ) +script = ExtResource( 6 ) + +[node name="right" type="PanelContainer" parent="Holder"] +margin_left = 1082.0 +margin_right = 1422.0 +margin_bottom = 800.0 +mouse_filter = 2 +custom_styles/panel = SubResource( 1 ) + +[node name="V" type="VBoxContainer" parent="Holder/right"] +margin_left = 10.0 +margin_top = 10.0 +margin_right = 330.0 +margin_bottom = 790.0 +mouse_filter = 2 +alignment = 1 + +[node name="Sidebar" parent="Holder/right/V" instance=ExtResource( 2 )] +unique_name_in_owner = true +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 216.0 +margin_right = 320.0 +margin_bottom = 564.0 |