Update new GUI.

- Add font
- first step to update main menu Ui
- replace button with a subscene
- add props textures
- write a new resolution default
- actvate HDPI
This commit is contained in:
stilobique-surface
2021-05-14 19:07:26 +02:00
parent 8db009c271
commit 1db0245100
26 changed files with 696 additions and 101 deletions
+22
View File
@@ -0,0 +1,22 @@
[gd_scene format=2]
[node name="VBoxContainer" type="VBoxContainer"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -38.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonQuit" type="Button" parent="."]
margin_right = 1440.0
margin_bottom = 20.0
text = "Quitter"
[node name="Label" type="Label" parent="."]
margin_top = 24.0
margin_right = 1440.0
margin_bottom = 38.0
text = "v XX.XX"
align = 2
+39
View File
@@ -0,0 +1,39 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/ui/icones/treasure.png" type="Texture" id=1]
[node name="VBoxContainer" type="VBoxContainer"]
anchor_right = 1.0
margin_bottom = 176.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="."]
margin_right = 1440.0
margin_bottom = 128.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect" type="TextureRect" parent="CenterContainer"]
margin_left = 656.0
margin_right = 784.0
margin_bottom = 128.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="."]
margin_top = 168.0
margin_right = 1440.0
margin_bottom = 188.0
text = "Parametres"