feature/update-main-ui (#66)

Co-authored-by: stilobique-i7 <aurelienvlt@free.fr>
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com>
Reviewed-on: Athena/game-source#66
Co-authored-by: darknight <vaillant.jeremy@dev-crea.com>
Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
This commit is contained in:
darknight
2021-06-03 22:18:50 +02:00
parent 1c45fac8cb
commit 0debe0d2d3
38 changed files with 676 additions and 285 deletions
+76 -22
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=2]
[gd_scene load_steps=27 format=2]
[ext_resource path="res://assets/ui/themes/button-summary.jpg" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/bck-vert-grd.png" type="Texture" id=2]
@@ -6,7 +6,9 @@
[ext_resource path="res://assets/ui/themes/wood-tile.jpg" type="Texture" id=4]
[ext_resource path="res://assets/ui/themes/button-summary-hover.jpg" type="Texture" id=5]
[ext_resource path="res://assets/ui/icones/treasure-hover.png" type="Texture" id=6]
[ext_resource path="res://assets/fonts/kirsty/kirsty.tres" type="DynamicFont" id=7]
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=7]
[ext_resource path="res://assets/fonts/text_outline.material" type="Material" id=8]
[ext_resource path="res://assets/fonts/kirsty/kirsty_title.tres" type="DynamicFont" id=9]
[sub_resource type="VisualShaderNodeVectorOp" id=1]
operator = 3
@@ -194,15 +196,14 @@ __meta__ = {
[node name="CenterContainer" type="CenterContainer" parent="PanelWood/VBoxContainer"]
margin_right = 350.0
margin_bottom = 147.0
margin_bottom = 128.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect" type="TextureButton" parent="PanelWood/VBoxContainer/CenterContainer"]
margin_left = 111.0
margin_top = 9.0
margin_right = 239.0
margin_bottom = 137.0
margin_bottom = 128.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 4
size_flags_vertical = 4
@@ -212,9 +213,9 @@ texture_focused = ExtResource( 6 )
stretch_mode = 3
[node name="ButtonPuzzle" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 177.0
margin_top = 158.0
margin_right = 350.0
margin_bottom = 254.0
margin_bottom = 235.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -226,13 +227,15 @@ __meta__ = {
}
[node name="Label" type="Label" parent="PanelWood/VBoxContainer/ButtonPuzzle"]
material = ExtResource( 8 )
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 7
size_flags_vertical = 3
custom_fonts/font = ExtResource( 7 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Puzz"
custom_fonts/font = ExtResource( 9 )
text = "Puzzles"
align = 1
valign = 1
__meta__ = {
@@ -241,9 +244,9 @@ __meta__ = {
}
[node name="ButtonSetting" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 284.0
margin_top = 265.0
margin_right = 350.0
margin_bottom = 361.0
margin_bottom = 342.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -255,13 +258,44 @@ __meta__ = {
}
[node name="Label" type="Label" parent="PanelWood/VBoxContainer/ButtonSetting"]
material = ExtResource( 8 )
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 7
size_flags_vertical = 3
custom_fonts/font = ExtResource( 7 )
custom_fonts/font = ExtResource( 9 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Param"
text = "Paramètres"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": ""
}
[node name="ButtonCredits" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 372.0
margin_right = 350.0
margin_bottom = 449.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
texture_normal = ExtResource( 1 )
texture_hover = ExtResource( 5 )
texture_focused = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="PanelWood/VBoxContainer/ButtonCredits"]
material = ExtResource( 8 )
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 7
size_flags_vertical = 3
custom_fonts/font = ExtResource( 9 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Crédits"
align = 1
valign = 1
__meta__ = {
@@ -270,15 +304,15 @@ __meta__ = {
}
[node name="MarginContainer" type="MarginContainer" parent="PanelWood/VBoxContainer"]
margin_top = 391.0
margin_top = 479.0
margin_right = 350.0
margin_bottom = 539.0
margin_bottom = 533.0
size_flags_vertical = 3
[node name="ButtonQuit" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 569.0
margin_top = 563.0
margin_right = 350.0
margin_bottom = 646.0
margin_bottom = 640.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -289,11 +323,12 @@ __meta__ = {
}
[node name="Label" type="Label" parent="PanelWood/VBoxContainer/ButtonQuit"]
material = ExtResource( 8 )
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 7
size_flags_vertical = 3
custom_fonts/font = ExtResource( 7 )
custom_fonts/font = ExtResource( 9 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Quit"
align = 1
@@ -303,14 +338,33 @@ __meta__ = {
"_editor_description_": ""
}
[node name="LabelVersion" type="Label" parent="PanelWood/VBoxContainer"]
margin_top = 676.0
[node name="ContainerVersion" type="HBoxContainer" parent="PanelWood/VBoxContainer"]
margin_top = 670.0
margin_right = 350.0
margin_bottom = 690.0
[node name="MarginLeft" type="MarginContainer" parent="PanelWood/VBoxContainer/ContainerVersion"]
margin_right = 283.0
margin_bottom = 20.0
size_flags_horizontal = 3
[node name="LabelVersion" type="Label" parent="PanelWood/VBoxContainer/ContainerVersion"]
margin_left = 287.0
margin_right = 334.0
margin_bottom = 20.0
size_flags_vertical = 0
text = "v XX.XX"
custom_fonts/font = ExtResource( 7 )
custom_colors/font_color = Color( 0.741176, 0.478431, 0.372549, 1 )
text = "v 0.0.0"
align = 2
[node name="MarginRight" type="MarginContainer" parent="PanelWood/VBoxContainer/ContainerVersion"]
margin_left = 338.0
margin_right = 350.0
margin_bottom = 20.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.04
[node name="MarginContainerBottom" type="MarginContainer" parent="PanelWood/VBoxContainer"]
margin_top = 720.0
margin_right = 350.0