online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/account/Account.tscn')
-rw-r--r--ui/menus/account/Account.tscn126
1 files changed, 126 insertions, 0 deletions
diff --git a/ui/menus/account/Account.tscn b/ui/menus/account/Account.tscn
new file mode 100644
index 0000000..53c0846
--- /dev/null
+++ b/ui/menus/account/Account.tscn
@@ -0,0 +1,126 @@
+[gd_scene load_steps=8 format=2]
+
+[ext_resource path="res://ui/gridmenu/GridMenuButton.tscn" type="PackedScene" id=1]
+[ext_resource path="res://assets/blank.png" type="Texture" id=2]
+[ext_resource path="res://ui/Status.gd" type="Script" id=3]
+[ext_resource path="res://ui/menus/account/usernamepass.tscn" type="PackedScene" id=5]
+[ext_resource path="res://ui/theme/main.theme" type="Theme" id=6]
+[ext_resource path="res://ui/animations/thehalo.tres" type="Material" id=7]
+[ext_resource path="res://ui/menus/account/Account.gd" type="Script" id=8]
+
+[node name="account" type="VBoxContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+theme = ExtResource( 6 )
+script = ExtResource( 8 )
+
+[node name="H" type="HBoxContainer" parent="."]
+margin_right = 1422.0
+
+[node name="InfoLabel" type="Label" parent="H"]
+visible = false
+margin_right = 1422.0
+margin_bottom = 46.0
+size_flags_horizontal = 3
+script = ExtResource( 3 )
+
+[node name="LogOut" type="Button" parent="H"]
+visible = false
+margin_right = 96.0
+margin_bottom = 102.0
+hint_tooltip = "log out"
+focus_mode = 0
+text = ""
+
+[node name="choose" type="TabContainer" parent="."]
+margin_left = 182.0
+margin_top = 10.0
+margin_right = 1240.0
+margin_bottom = 457.0
+size_flags_horizontal = 4
+size_flags_vertical = 4
+use_hidden_tabs_for_min_size = true
+
+[node name="signup" type="VBoxContainer" parent="choose"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 25.0
+margin_top = 79.0
+margin_right = -25.0
+margin_bottom = -25.0
+custom_constants/separation = 5
+
+[node name="usernamepass" parent="choose/signup" instance=ExtResource( 5 )]
+anchor_right = 0.0
+anchor_bottom = 0.0
+margin_right = 1008.0
+margin_bottom = 225.0
+
+[node name="flag" parent="choose/signup" instance=ExtResource( 1 )]
+margin_left = 389.0
+margin_top = 230.0
+margin_right = 619.0
+margin_bottom = 284.0
+rect_min_size = Vector2( 230, 0 )
+size_flags_horizontal = 4
+text = "flag"
+offset = Vector2( 50, -400 )
+
+[node name="signupbutton" type="Button" parent="choose/signup"]
+margin_left = 379.0
+margin_top = 289.0
+margin_right = 629.0
+margin_bottom = 343.0
+rect_min_size = Vector2( 250, 20 )
+hint_tooltip = "sign up"
+focus_mode = 0
+size_flags_horizontal = 4
+text = "sign up "
+
+[node name="signin" type="VBoxContainer" parent="choose"]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 30.0
+margin_top = 86.0
+margin_right = -30.0
+margin_bottom = -30.0
+custom_constants/separation = 5
+
+[node name="usernamepass" parent="choose/signin" instance=ExtResource( 5 )]
+anchor_right = 0.0
+anchor_bottom = 0.0
+margin_right = 1008.0
+margin_bottom = 225.0
+
+[node name="signinbutton" type="Button" parent="choose/signin"]
+margin_left = 388.0
+margin_top = 230.0
+margin_right = 619.0
+margin_bottom = 332.0
+rect_min_size = Vector2( 250, 20 )
+hint_tooltip = "sign in"
+focus_mode = 0
+size_flags_horizontal = 4
+text = "sign in 﫻"
+
+[node name="LoadingAnimation" type="TextureRect" parent="."]
+visible = false
+material = ExtResource( 7 )
+margin_left = 511.0
+margin_top = 649.0
+margin_right = 911.0
+margin_bottom = 1049.0
+rect_min_size = Vector2( 400, 400 )
+hint_tooltip = "loading..."
+size_flags_horizontal = 4
+size_flags_vertical = 4
+texture = ExtResource( 2 )
+expand = true
+
+[connection signal="pressed" from="H/LogOut" to="." method="log_out"]
+[connection signal="tab_changed" from="choose" to="." method="_on_choose_tab_changed"]
+[connection signal="done" from="choose/signup/usernamepass" to="." method="signup"]
+[connection signal="pressed" from="choose/signup/signupbutton" to="." method="signup"]
+[connection signal="done" from="choose/signin/usernamepass" to="." method="signin"]
+[connection signal="pressed" from="choose/signin/signinbutton" to="." method="signin"]