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:
@@ -0,0 +1,28 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="Tile" type="VBoxContainer"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="BorderLeft" type="ColorRect" parent="."]
|
||||
margin_top = 241.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 478.0
|
||||
rect_min_size = Vector2( 0, 8 )
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
color = Color( 0.74902, 0.701961, 0.65098, 1 )
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="."]
|
||||
margin_top = 482.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 720.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/kirsty/kirsty_title.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://scenes/UI/loading/Loading.gd" type="Script" id=2]
|
||||
|
||||
[node name="VBoxLoading" type="VBoxContainer"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -96.5
|
||||
margin_top = -28.0
|
||||
margin_right = 96.5
|
||||
margin_bottom = 28.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
custom_constants/separation = 0
|
||||
alignment = 1
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="LabelLoading" type="Label" parent="."]
|
||||
margin_right = 193.0
|
||||
margin_bottom = 56.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
custom_colors/font_color = Color( 0.74902, 0.701961, 0.65098, 1 )
|
||||
text = "loading"
|
||||
align = 1
|
||||
valign = 2
|
||||
uppercase = true
|
||||
@@ -0,0 +1,61 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/leather.theme" type="Theme" id=1]
|
||||
|
||||
[node name="LoadingBare" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_top = 241.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 478.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_right = 238.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 0.3
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_left = 242.0
|
||||
margin_right = 1037.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource( 1 )
|
||||
max_value = 1.0
|
||||
step = 0.1
|
||||
rounded = true
|
||||
|
||||
[node name="HSplitContainer2" type="HSplitContainer" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_left = 1041.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 0.3
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
|
||||
margin_top = 482.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 720.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
@@ -0,0 +1,87 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/UI/loading/parts/LabelLoading.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/UI/loading/parts/BorderColor.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/bck-hrz-grd.png" type="Texture" id=3]
|
||||
|
||||
[node name="LoadingBorder" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_vertical = 2
|
||||
rect_clip_content = true
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="BackgroundGradient" type="VBoxContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
custom_constants/separation = 0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="BlackColor" type="ColorRect" parent="BackgroundGradient"]
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 240.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[node name="ColorRect" type="TextureRect" parent="BackgroundGradient"]
|
||||
margin_top = 240.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 480.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource( 3 )
|
||||
expand = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="BackgroundGradient"]
|
||||
margin_top = 480.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 720.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LabelAndBorder" type="HBoxContainer" parent="."]
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
margin_top = -30.0
|
||||
margin_bottom = 30.0
|
||||
rect_clip_content = true
|
||||
size_flags_vertical = 5
|
||||
custom_constants/separation = 20
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="BorderLeft" parent="LabelAndBorder" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 523.0
|
||||
margin_bottom = 60.0
|
||||
|
||||
[node name="LabelLoading" parent="LabelAndBorder" instance=ExtResource( 1 )]
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 543.0
|
||||
margin_top = 0.0
|
||||
margin_right = 736.0
|
||||
margin_bottom = 56.0
|
||||
|
||||
[node name="BorderRight" parent="LabelAndBorder" instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_left = 756.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 60.0
|
||||
Reference in New Issue
Block a user