88 lines
2.5 KiB
Text
88 lines
2.5 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[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]
|
|
[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]
|
|
|
|
[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 )
|
|
|
|
[node name="GUI" 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 = 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 )
|
|
_sections_unfolded = [ "Margin", "Size Flags", "Theme", "custom_constants" ]
|
|
|
|
[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
|
|
theme = SubResource( 2 )
|
|
|
|
[node name="Home" parent="." index="1" instance=ExtResource( 4 )]
|
|
|
|
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
|
|
_sections_unfolded = [ "Margin", "Size Flags", "Visibility", "custom_constants" ]
|
|
|
|
[node name="Settings" parent="." index="2" instance=ExtResource( 5 )]
|
|
|
|
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
|
|
_sections_unfolded = [ "Margin", "Size Flags", "Theme", "custom_constants" ]
|
|
|
|
[node name="Help" parent="." index="3" instance=ExtResource( 6 )]
|
|
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 89.0
|
|
margin_bottom = 86.0
|
|
|
|
[connection signal="play_pressed" from="Home" to="." method="_on_Home_play_pressed"]
|
|
|
|
[connection signal="setting_pressed" from="Home" to="." method="_on_Home_setting_pressed"]
|
|
|
|
[connection signal="font_changed" from="Settings" to="." method="_on_Settings_font_changed"]
|
|
|
|
[connection signal="return_pressed" from="Settings" to="." method="_on_Settings_return_pressed"]
|
|
|
|
|