diff --git a/assets/fonts/FfMoon-V4Oz6.ttf b/assets/fonts/FfMoon-V4Oz6.ttf deleted file mode 100644 index 573c9ff..0000000 Binary files a/assets/fonts/FfMoon-V4Oz6.ttf and /dev/null differ diff --git a/assets/fonts/technoid-font/TechnoidOne-2O0d.ttf b/assets/fonts/technoid-font/TechnoidOne-2O0d.ttf new file mode 100644 index 0000000..3c3af2b Binary files /dev/null and b/assets/fonts/technoid-font/TechnoidOne-2O0d.ttf differ diff --git a/assets/fonts/FfMoon-V4Oz6.ttf.import b/assets/fonts/technoid-font/TechnoidOne-2O0d.ttf.import similarity index 64% rename from assets/fonts/FfMoon-V4Oz6.ttf.import rename to assets/fonts/technoid-font/TechnoidOne-2O0d.ttf.import index f39e2f1..86d42b8 100644 --- a/assets/fonts/FfMoon-V4Oz6.ttf.import +++ b/assets/fonts/technoid-font/TechnoidOne-2O0d.ttf.import @@ -2,13 +2,13 @@ importer="font_data_dynamic" type="FontFile" -uid="uid://bis7frbd8pbqk" -path="res://.godot/imported/FfMoon-V4Oz6.ttf-eb6eb0f742e26fdd30326f2816f04f01.fontdata" +uid="uid://5x36351ridtd" +path="res://.godot/imported/TechnoidOne-2O0d.ttf-952d024ab2812f3c2d138d8abb97afda.fontdata" [deps] -source_file="res://assets/fonts/FfMoon-V4Oz6.ttf" -dest_files=["res://.godot/imported/FfMoon-V4Oz6.ttf-eb6eb0f742e26fdd30326f2816f04f01.fontdata"] +source_file="res://assets/fonts/technoid-font/TechnoidOne-2O0d.ttf" +dest_files=["res://.godot/imported/TechnoidOne-2O0d.ttf-952d024ab2812f3c2d138d8abb97afda.fontdata"] [params] diff --git a/assets/fonts/technoid-font/info.txt b/assets/fonts/technoid-font/info.txt new file mode 100644 index 0000000..4983e3d --- /dev/null +++ b/assets/fonts/technoid-font/info.txt @@ -0,0 +1,2 @@ +license: Freeware +link: https://www.fontspace.com/technoid-font-f1590 \ No newline at end of file diff --git a/assets/fonts/technoid-font/misc/technoid.txt b/assets/fonts/technoid-font/misc/technoid.txt new file mode 100644 index 0000000..02e4991 --- /dev/null +++ b/assets/fonts/technoid-font/misc/technoid.txt @@ -0,0 +1,7 @@ +Technoid + +this font by Ola Björling (ola@techno.org) + +homepage at http://ola.nool.nu but this might change. + +Freeware - use at your own risk. \ No newline at end of file diff --git a/src/HUD_theme.tres b/src/HUD_theme.tres index 74419a6..627fdf3 100644 --- a/src/HUD_theme.tres +++ b/src/HUD_theme.tres @@ -1,6 +1,6 @@ [gd_resource type="Theme" load_steps=4 format=3 uid="uid://cq6k0lttfws5w"] -[ext_resource type="FontFile" uid="uid://bis7frbd8pbqk" path="res://assets/fonts/FfMoon-V4Oz6.ttf" id="1_i0o8h"] +[ext_resource type="FontFile" uid="uid://5x36351ridtd" path="res://assets/fonts/technoid-font/TechnoidOne-2O0d.ttf" id="1_njjrg"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e31i6"] bg_color = Color(0, 0, 0, 0) @@ -18,7 +18,7 @@ corner_detail = 1 anti_aliasing = false [resource] -default_font = ExtResource("1_i0o8h") -default_font_size = 10 +default_font = ExtResource("1_njjrg") +default_font_size = 16 ProgressBar/styles/background = SubResource("StyleBoxFlat_e31i6") ProgressBar/styles/fill = SubResource("StyleBoxFlat_8fg7e") diff --git a/src/main.tscn b/src/main.tscn index ef46848..815017b 100644 --- a/src/main.tscn +++ b/src/main.tscn @@ -188,12 +188,16 @@ theme = ExtResource("9_ph71t") fill_mode = 3 show_percentage = false -[node name="CenterContainer" type="CenterContainer" parent="UI/MarginContainer/HBoxContainer/HeatContainer"] +[node name="Control" type="Control" parent="UI/MarginContainer/HBoxContainer/HeatContainer"] +custom_minimum_size = Vector2(48, 17) layout_mode = 2 -[node name="Label" type="Label" parent="UI/MarginContainer/HBoxContainer/HeatContainer/CenterContainer"] +[node name="Label" type="Label" parent="UI/MarginContainer/HBoxContainer/HeatContainer/Control"] material = SubResource("ShaderMaterial_r85sm") layout_mode = 2 +offset_left = -1.0 +offset_right = 51.0 +offset_bottom = 17.0 size_flags_horizontal = 0 theme = ExtResource("9_ph71t") text = "heat" @@ -208,7 +212,7 @@ layout_mode = 2 size_flags_vertical = 10 [node name="LabelRotation" type="Control" parent="UI/MarginContainer/HBoxContainer/VBoxContainer/StructureContainer"] -custom_minimum_size = Vector2(11, 90) +custom_minimum_size = Vector2(11, 128) layout_mode = 2 size_flags_vertical = 8 @@ -218,7 +222,7 @@ layout_mode = 2 offset_right = 90.0 offset_bottom = 11.0 rotation = 1.5708 -pivot_offset = Vector2(4, 4) +pivot_offset = Vector2(0, 13) theme = ExtResource("9_ph71t") text = "structure"