2018-07-28 08:28:50 +00:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://scenes/GUI/GUI.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://scenes/GUI/HUD/HUD.tscn" type="PackedScene" id=2]
|
2018-07-28 08:28:50 +00:00
|
|
|
[ext_resource path="res://assets/GUI/fonts/ryzom.ttf" type="DynamicFontData" id=3]
|
|
|
|
[ext_resource path="res://scenes/GUI/Home/Home.tscn" type="PackedScene" id=4]
|
|
|
|
[ext_resource path="res://scenes/GUI/Settings/Settings.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://scenes/GUI/Help/Help.tscn" type="PackedScene" id=6]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
2018-07-28 08:28:50 +00:00
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
|
|
|
|
|
|
size = 14
|
|
|
|
use_mipmaps = false
|
|
|
|
use_filter = false
|
|
|
|
font_data = ExtResource( 3 )
|
|
|
|
_sections_unfolded = [ "Font", "Settings" ]
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=2]
|
|
|
|
|
|
|
|
default_font = SubResource( 1 )
|
|
|
|
|
2018-07-30 13:35:00 +00:00
|
|
|
[node name="GUI" type="MarginContainer"]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
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
|
2018-07-30 07:08:39 +00:00
|
|
|
mouse_filter = 1
|
2018-07-25 07:36:19 +00:00
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
custom_constants/margin_right = 4
|
|
|
|
custom_constants/margin_top = 4
|
|
|
|
custom_constants/margin_left = 4
|
|
|
|
custom_constants/margin_bottom = 4
|
|
|
|
script = ExtResource( 1 )
|
2018-07-30 07:08:39 +00:00
|
|
|
_sections_unfolded = [ "Margin", "Mouse", "Size Flags", "Theme", "custom_constants" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
[node name="HUD" parent="." index="0" instance=ExtResource( 2 )]
|
|
|
|
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1020.0
|
|
|
|
margin_bottom = 596.0
|
2018-07-28 08:28:50 +00:00
|
|
|
theme = SubResource( 2 )
|
2018-07-25 07:36:19 +00:00
|
|
|
|
2018-07-28 08:28:50 +00:00
|
|
|
[node name="Home" parent="." index="1" instance=ExtResource( 4 )]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
visible = false
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1020.0
|
|
|
|
margin_bottom = 596.0
|
2018-07-30 07:08:39 +00:00
|
|
|
mouse_filter = 1
|
2018-07-30 13:35:00 +00:00
|
|
|
_sections_unfolded = [ "Mouse", "Size Flags", "Visibility", "custom_constants" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
2018-07-28 08:28:50 +00:00
|
|
|
[node name="Settings" parent="." index="2" instance=ExtResource( 5 )]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
visible = false
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 1020.0
|
|
|
|
margin_bottom = 596.0
|
2018-07-30 07:08:39 +00:00
|
|
|
mouse_filter = 1
|
2018-07-30 13:35:00 +00:00
|
|
|
_sections_unfolded = [ "Mouse", "Size Flags", "Theme", "custom_constants" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
2018-07-28 08:28:50 +00:00
|
|
|
[node name="Help" parent="." index="3" instance=ExtResource( 6 )]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
2018-07-27 10:02:46 +00:00
|
|
|
margin_right = 89.0
|
2018-07-25 07:36:19 +00:00
|
|
|
margin_bottom = 86.0
|
2018-07-30 07:08:39 +00:00
|
|
|
_sections_unfolded = [ "Margin", "Mouse", "Size Flags", "custom_constants" ]
|
2018-07-25 07:36:19 +00:00
|
|
|
|
|
|
|
[connection signal="play_pressed" from="Home" to="." method="_on_Home_play_pressed"]
|
|
|
|
|
|
|
|
[connection signal="setting_pressed" from="Home" to="." method="_on_Home_setting_pressed"]
|
|
|
|
|
2018-07-28 08:28:50 +00:00
|
|
|
[connection signal="font_changed" from="Settings" to="." method="_on_Settings_font_changed"]
|
|
|
|
|
2018-07-25 07:36:19 +00:00
|
|
|
[connection signal="return_pressed" from="Settings" to="." method="_on_Settings_return_pressed"]
|
|
|
|
|
|
|
|
|