[gd_scene load_steps=5 format=2] [ext_resource path="res://assets/interfaces/Login-Khanat-background.png" type="Texture" id=1] [ext_resource path="res://assets/interfaces/themes/khanat_theme.theme" type="Theme" id=2] [ext_resource path="res://scenes/interfaces/main_menu/main_menu.gd" type="Script" id=3] [ext_resource path="res://scenes/interfaces/options/options.tscn" type="PackedScene" id=4] [node name="main_menu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 theme = ExtResource( 2 ) script = ExtResource( 3 ) __meta__ = { "_edit_use_anchors_": false } [node name="background" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 texture = ExtResource( 1 ) expand = true __meta__ = { "_edit_use_anchors_": false } [node name="screen_box" type="MarginContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 custom_constants/margin_left = 280 __meta__ = { "_edit_use_anchors_": false } [node name="login_box" type="VBoxContainer" parent="screen_box"] margin_left = 652.0 margin_top = 277.0 margin_right = 908.0 margin_bottom = 442.0 size_flags_horizontal = 6 size_flags_vertical = 6 [node name="error" type="Label" parent="screen_box/login_box"] margin_right = 256.0 margin_bottom = 17.0 custom_colors/font_color = Color( 1, 0.0470588, 0, 1 ) align = 1 valign = 1 autowrap = true [node name="play" type="Button" parent="screen_box/login_box"] margin_top = 21.0 margin_right = 256.0 margin_bottom = 54.0 text = "MAIN_MENU_PLAY" [node name="username" type="LineEdit" parent="screen_box/login_box"] margin_top = 58.0 margin_right = 256.0 margin_bottom = 91.0 rect_min_size = Vector2( 256, 0 ) align = 1 placeholder_text = "MAIN_MENU_USERNAME" [node name="password" type="LineEdit" parent="screen_box/login_box"] margin_top = 95.0 margin_right = 256.0 margin_bottom = 128.0 rect_min_size = Vector2( 256, 0 ) align = 1 secret = true placeholder_text = "MAIN_MENU_PASSWORD" [node name="quit" type="Button" parent="screen_box/login_box"] margin_top = 132.0 margin_right = 256.0 margin_bottom = 165.0 text = "MAIN_MENU_QUIT" [node name="control" parent="." instance=ExtResource( 4 )] anchor_left = 1.0 anchor_bottom = 0.0 margin_bottom = 0.0 size_flags_horizontal = 8 size_flags_vertical = 2 [connection signal="pressed" from="screen_box/login_box/play" to="." method="_on_play_pressed"] [connection signal="pressed" from="screen_box/login_box/quit" to="." method="_on_quitter_pressed"] [connection signal="quit_pressed" from="control" to="." method="_on_control_quit_pressed"]