Finish Ui main interface

This commit is contained in:
stilobique-surface
2021-05-14 21:22:32 +02:00
committed by Vaillant Jeremy
parent 2d1081a3f8
commit fa4ec8baea
11 changed files with 278 additions and 131 deletions
+40 -8
View File
@@ -1,22 +1,54 @@
[gd_scene format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/ui/themes/button-summary.jpg" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/button-summary-hover.jpg" type="Texture" id=2]
[node name="VBoxContainer" type="VBoxContainer"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -38.0
margin_top = -188.0
size_flags_horizontal = 11
size_flags_vertical = 11
custom_constants/separation = 20
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonQuit" type="Button" parent="."]
[node name="ButtonQuit" type="TextureButton" parent="."]
margin_top = 154.0
margin_right = 1440.0
margin_bottom = 20.0
text = "Quitter"
margin_bottom = 154.0
size_flags_vertical = 10
texture_normal = ExtResource( 1 )
texture_hover = ExtResource( 2 )
expand = true
__meta__ = {
"_editor_description_": ""
}
[node name="Label" type="Label" parent="."]
margin_top = 24.0
[node name="Label" type="Label" parent="ButtonQuit"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -23.0
margin_top = -7.0
margin_right = 23.0
margin_bottom = 7.0
size_flags_horizontal = 7
size_flags_vertical = 3
text = "Quitter"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LabelVersion" type="Label" parent="."]
margin_top = 174.0
margin_right = 1440.0
margin_bottom = 38.0
margin_bottom = 188.0
text = "v XX.XX"
align = 2
+71 -13
View File
@@ -1,39 +1,97 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/ui/icones/treasure.png" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/button-summary.jpg" type="Texture" id=2]
[ext_resource path="res://assets/ui/themes/button-summary-hover.jpg" type="Texture" id=3]
[node name="VBoxContainer" type="VBoxContainer"]
anchor_right = 1.0
margin_bottom = 176.0
custom_constants/separation = 10
margin_bottom = 565.0
rect_clip_content = true
size_flags_horizontal = 11
size_flags_vertical = 11
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
margin_right = 1440.0
margin_bottom = 128.0
margin_bottom = 168.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect" type="TextureRect" parent="CenterContainer"]
margin_left = 656.0
margin_top = 20.0
margin_right = 784.0
margin_bottom = 128.0
margin_bottom = 148.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource( 1 )
stretch_mode = 1
flip_h = true
[node name="ButtonPuzzle" type="Button" parent="."]
margin_top = 138.0
margin_right = 1440.0
margin_bottom = 158.0
text = "Puzzles"
[node name="ButtonSetting" type="Button" parent="."]
[node name="ButtonPuzzle" type="TextureButton" parent="."]
margin_top = 168.0
margin_right = 1440.0
margin_bottom = 188.0
margin_bottom = 336.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 2 )
texture_hover = ExtResource( 3 )
expand = true
__meta__ = {
"_editor_description_": ""
}
[node name="Label" type="Label" parent="ButtonPuzzle"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 7
size_flags_vertical = 3
text = "Puzzle"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_top = 336.0
margin_right = 1440.0
margin_bottom = 366.0
custom_constants/margin_top = 30
[node name="ButtonSetting" type="TextureButton" parent="."]
margin_top = 366.0
margin_right = 1440.0
margin_bottom = 534.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 2 )
texture_hover = ExtResource( 3 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="ButtonSetting"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.840881
margin_bottom = -0.840881
size_flags_horizontal = 7
size_flags_vertical = 3
text = "Parametres"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer2" type="MarginContainer" parent="."]
margin_top = 534.0
margin_right = 1440.0
margin_bottom = 564.0
custom_constants/margin_top = 30