General UI Work
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bwbofurcvf3yh"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://bwbofurcvf3yh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cxi8msbee56t2" path="res://src/minimap/Minimap.cs" id="1_yn75n"]
|
||||
[ext_resource type="FontFile" uid="uid://duu4matpexcq4" path="res://src/ui/fonts/LSANS.TTF" id="2_75ec6"]
|
||||
@@ -12,10 +12,25 @@
|
||||
default_font = ExtResource("2_75ec6")
|
||||
default_font_size = 50
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_yn75n"]
|
||||
font = ExtResource("2_75ec6")
|
||||
font_size = 35
|
||||
font_color = Color(0.792157, 0.698039, 0.643137, 1)
|
||||
shadow_size = 3
|
||||
shadow_color = Color(0.117647, 0.117647, 0.117647, 0.760784)
|
||||
shadow_offset = Vector2(-3, 1)
|
||||
|
||||
[sub_resource type="Theme" id="Theme_qgswn"]
|
||||
default_font = ExtResource("3_yn75n")
|
||||
default_font_size = 50
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_75ec6"]
|
||||
font = ExtResource("3_yn75n")
|
||||
font_size = 40
|
||||
shadow_size = 3
|
||||
shadow_color = Color(0.117647, 0.117647, 0.117647, 0.760784)
|
||||
shadow_offset = Vector2(-3, 1)
|
||||
|
||||
[node name="Minimap" type="Control"]
|
||||
process_mode = 3
|
||||
light_mask = 2
|
||||
@@ -46,6 +61,7 @@ layout_mode = 2
|
||||
transparent_bg = true
|
||||
handle_input_locally = false
|
||||
size = Vector2i(350, 300)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="Minimap Camera" type="Camera3D" parent="CenterContainer/SubViewportContainer/SubViewport"]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -21.7374, 240.05, 2.76249)
|
||||
@@ -83,17 +99,18 @@ theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = -2
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "Layer"
|
||||
text = "LAYER"
|
||||
label_settings = SubResource("LabelSettings_yn75n")
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="LayerNumberText" type="Label" parent="CenterContainer/SubViewportContainer/SubViewport/MarginContainer/Control"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(80, 15)
|
||||
layout_mode = 2
|
||||
offset_left = 86.0
|
||||
offset_top = 28.0
|
||||
offset_right = 166.0
|
||||
offset_bottom = 80.0
|
||||
offset_left = 87.0
|
||||
offset_top = 20.0
|
||||
offset_right = 167.0
|
||||
offset_bottom = 72.0
|
||||
theme = SubResource("Theme_qgswn")
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 1, 1, 0.027451)
|
||||
@@ -103,4 +120,5 @@ theme_override_constants/shadow_offset_y = -2
|
||||
theme_override_constants/outline_size = 2
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "01"
|
||||
label_settings = SubResource("LabelSettings_75ec6")
|
||||
horizontal_alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user