2018-07-25 07:36:19 +00:00
|
|
|
[gd_scene load_steps=9 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://scenes/GUI/Home/Home.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://assets/GUI/fonts/ryzom.ttf" type="DynamicFontData" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
|
|
|
|
size = 18
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
extra_spacing_top = 8
|
|
|
|
extra_spacing_bottom = 8
|
|
|
|
font_data = ExtResource( 2 )
|
|
|
|
_sections_unfolded = [ "Extra Spacing", "Font", "Resource", "Settings" ]
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=2]
|
|
|
|
|
|
|
|
default_font = SubResource( 1 )
|
|
|
|
_sections_unfolded = [ "Resource" ]
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
|
|
|
|
|
|
size = 64
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 2 )
|
|
|
|
_sections_unfolded = [ "Font", "Resource", "Settings" ]
|
|
|
|
|
|
|
|
[sub_resource type="Gradient" id=4]
|
|
|
|
|
|
|
|
offsets = PoolRealArray( 0, 1 )
|
|
|
|
colors = PoolColorArray( 0, 0, 0, 0.784314, 0, 0, 0, 0.784314 )
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture" id=5]
|
|
|
|
|
|
|
|
flags = 4
|
|
|
|
gradient = SubResource( 4 )
|
|
|
|
width = 2048
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=6]
|
|
|
|
|
|
|
|
size = 18
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 2 )
|
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
|
|
|
|
[node name="Home" type="MarginContainer"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_constants/margin_right = 0
|
|
|
|
custom_constants/margin_top = 0
|
|
|
|
custom_constants/margin_left = 0
|
|
|
|
custom_constants/margin_bottom = 0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
_sections_unfolded = [ "Size Flags", "Visibility", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="Menu" type="VBoxContainer" parent="." index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 600.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
|
|
|
|
theme = SubResource( 2 )
|
|
|
|
alignment = 0
|
2018-08-08 13:48:37 +00:00
|
|
|
_sections_unfolded = [ "Grow Direction", "Mouse", "Rect", "Theme", "custom_constants" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="Menu" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1024.0
|
2018-08-08 13:48:37 +00:00
|
|
|
margin_bottom = 103.0
|
2018-07-25 07:36:19 +00:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_fonts/font = SubResource( 3 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
custom_constants/shadow_offset_x = 4
|
|
|
|
custom_constants/shadow_offset_y = 4
|
|
|
|
text = "KHANAT"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
_sections_unfolded = [ "Size Flags", "Theme", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]
|
|
|
|
|
|
|
|
[node name="Buttons" type="MarginContainer" parent="Menu" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 470.0
|
2018-08-08 13:48:37 +00:00
|
|
|
margin_top = 107.0
|
2018-07-25 07:36:19 +00:00
|
|
|
margin_right = 554.0
|
2018-08-08 13:48:37 +00:00
|
|
|
margin_bottom = 493.0
|
2018-07-25 07:36:19 +00:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 1
|
|
|
|
custom_constants/margin_right = 0
|
|
|
|
custom_constants/margin_top = 42
|
|
|
|
custom_constants/margin_left = 0
|
|
|
|
custom_constants/margin_bottom = 42
|
|
|
|
_sections_unfolded = [ "Size Flags", "Theme", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Menu/Buttons" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 42.0
|
|
|
|
margin_right = 84.0
|
2018-08-08 13:48:37 +00:00
|
|
|
margin_bottom = 344.0
|
2018-07-25 07:36:19 +00:00
|
|
|
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
|
|
|
|
custom_constants/separation = 42
|
|
|
|
alignment = 1
|
|
|
|
_sections_unfolded = [ "Margin", "Theme", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="PlayButton" type="Button" parent="Menu/Buttons/VBoxContainer" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 44.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
hint_tooltip = "Test tooltip."
|
|
|
|
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
|
|
|
|
text = "Play"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
_sections_unfolded = [ "Hint", "Theme", "custom_fonts" ]
|
|
|
|
|
|
|
|
[node name="SettingsButton" type="Button" parent="Menu/Buttons/VBoxContainer" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 86.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 130.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
|
|
|
|
text = "Settings"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
_sections_unfolded = [ "Anchor", "Rect", "custom_fonts" ]
|
|
|
|
|
2018-08-08 13:48:37 +00:00
|
|
|
[node name="LogoutButton" type="Button" parent="Menu/Buttons/VBoxContainer" index="2"]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 172.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 216.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
|
2018-08-08 13:48:37 +00:00
|
|
|
text = "Logout"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
|
|
|
_sections_unfolded = [ "Focus", "Mouse" ]
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="Menu/Buttons/VBoxContainer" index="3"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 258.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 302.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
|
2018-07-25 07:36:19 +00:00
|
|
|
text = "Quit"
|
|
|
|
flat = false
|
|
|
|
align = 1
|
2018-08-08 13:48:37 +00:00
|
|
|
_sections_unfolded = [ "Mouse" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
[node name="Container" type="MarginContainer" parent="Menu" index="2"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 558.0
|
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 600.0
|
|
|
|
rect_min_size = Vector2( 0, 42 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 5
|
|
|
|
size_flags_vertical = 10
|
|
|
|
custom_constants/margin_right = 0
|
|
|
|
custom_constants/margin_top = 0
|
|
|
|
custom_constants/margin_left = 0
|
|
|
|
custom_constants/margin_bottom = 0
|
|
|
|
_sections_unfolded = [ "Rect", "Size Flags", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="NinePatchRect" type="NinePatchRect" parent="Menu/Container" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 42.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 11
|
|
|
|
texture = SubResource( 5 )
|
|
|
|
_sections_unfolded = [ "Size Flags", "Visibility" ]
|
|
|
|
|
|
|
|
[node name="Footer" type="Label" parent="Menu/Container" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 429.0
|
|
|
|
margin_top = 10.0
|
|
|
|
margin_right = 594.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
custom_fonts/font = SubResource( 6 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0.617188, 0.617188, 0.617188, 1 )
|
|
|
|
text = "Powered by Godot"
|
|
|
|
align = 1
|
|
|
|
valign = 2
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_constants", "custom_fonts" ]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Menu/Buttons/VBoxContainer/PlayButton" to="." method="_on_PlayButton_pressed"]
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Menu/Buttons/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"]
|
|
|
|
|
2018-08-08 13:48:37 +00:00
|
|
|
[connection signal="pressed" from="Menu/Buttons/VBoxContainer/LogoutButton" to="." method="_on_LogoutButton_pressed"]
|
|
|
|
|
2018-07-25 07:36:19 +00:00
|
|
|
[connection signal="pressed" from="Menu/Buttons/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
|
|
|
|
|
|
|
|
|