184 lines
5.7 KiB
Text
184 lines
5.7 KiB
Text
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://login_scene/login_scene.gd" type="Script" id=1]
|
|
[ext_resource path="res://login_scene/character_selection_menu.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://gui_scene/GUI/login/login_menu.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://gui_scene/GUI/login/register_menu.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://gui_scene/GUI/login/license_menu.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-background-buttons.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-sound-button.png" type="Texture" id=7]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-sound-muted-button.png" type="Texture" id=8]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-help-button.png" type="Texture" id=9]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-settings-button.png" type="Texture" id=10]
|
|
[ext_resource path="res://assets/GUI/images/Login-Khanat-quit-button.png" type="Texture" id=11]
|
|
|
|
[node name="login_scene" type="Node" index="0"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="character_selection_menu" parent="." index="0" instance=ExtResource( 2 )]
|
|
|
|
visible = false
|
|
|
|
[node name="login_menu" parent="." index="1" instance=ExtResource( 3 )]
|
|
|
|
margin_top = -1.0
|
|
margin_bottom = -1.0
|
|
|
|
[node name="register_menu" parent="." index="2" instance=ExtResource( 4 )]
|
|
|
|
visible = false
|
|
|
|
[node name="license_menu" parent="." index="3" instance=ExtResource( 5 )]
|
|
|
|
visible = false
|
|
|
|
[node name="buttons_background" type="TextureRect" parent="." index="4"]
|
|
|
|
anchor_left = 1.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.0
|
|
margin_left = -307.0
|
|
margin_bottom = 65.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
texture = ExtResource( 6 )
|
|
stretch_mode = 0
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="buttons" type="HBoxContainer" parent="." index="5"]
|
|
|
|
editor/display_folded = true
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.0
|
|
rect_min_size = Vector2( 0, 61 )
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
alignment = 2
|
|
_sections_unfolded = [ "Rect", "Size Flags" ]
|
|
|
|
[node name="sound_button" type="TextureButton" parent="buttons" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 1052.0
|
|
margin_right = 1106.0
|
|
margin_bottom = 61.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = true
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
texture_normal = ExtResource( 7 )
|
|
texture_pressed = ExtResource( 8 )
|
|
_sections_unfolded = [ "Size Flags", "Textures" ]
|
|
|
|
[node name="help_button" type="TextureButton" parent="buttons" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 1110.0
|
|
margin_right = 1164.0
|
|
margin_bottom = 61.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
texture_normal = ExtResource( 9 )
|
|
_sections_unfolded = [ "Size Flags", "Textures" ]
|
|
|
|
[node name="settings_button" type="TextureButton" parent="buttons" index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 1168.0
|
|
margin_right = 1222.0
|
|
margin_bottom = 61.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
texture_normal = ExtResource( 10 )
|
|
_sections_unfolded = [ "Size Flags", "Textures" ]
|
|
|
|
[node name="quit_button" type="TextureButton" parent="buttons" index="3"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 1226.0
|
|
margin_right = 1280.0
|
|
margin_bottom = 61.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
texture_normal = ExtResource( 11 )
|
|
_sections_unfolded = [ "Size Flags", "Textures" ]
|
|
|
|
[connection signal="character_selected" from="character_selection_menu" to="." method="_on_character_selection_menu_character_selected"]
|
|
|
|
[connection signal="return_button_pressed" from="character_selection_menu" to="." method="_on_character_selection_menu_return_button_pressed"]
|
|
|
|
[connection signal="login_button_pressed" from="login_menu" to="." method="_on_login_menu_login_button_pressed"]
|
|
|
|
[connection signal="register_button_pressed" from="login_menu" to="." method="_on_login_menu_register_button_pressed"]
|
|
|
|
[connection signal="cancel_button_pressed" from="register_menu" to="." method="_on_register_menu_cancel_button_pressed"]
|
|
|
|
[connection signal="license_button_pressed" from="register_menu" to="." method="_on_register_menu_license_button_pressed"]
|
|
|
|
[connection signal="sound_button_toggled" from="register_menu" to="." method="_on_sound_button_toggled"]
|
|
|
|
[connection signal="return_button_pressed" from="license_menu" to="." method="_on_license_menu_return_button_pressed"]
|
|
|
|
[connection signal="toggled" from="buttons/sound_button" to="." method="_on_sound_button_toggled"]
|
|
|
|
[connection signal="pressed" from="buttons/quit_button" to="." method="_on_quit_button_pressed"]
|
|
|
|
|