From c16903e9a97d68b007728d65e06e913fdc507b2a Mon Sep 17 00:00:00 2001 From: JHDev2006 Date: Thu, 16 Oct 2025 22:50:31 +0100 Subject: [PATCH] final touches --- Scenes/Prefabs/GameHud.tscn | 6 ++---- Scripts/Parts/LabelFontChanger.gd | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Scenes/Prefabs/GameHud.tscn b/Scenes/Prefabs/GameHud.tscn index 63bec76..6781ca0 100644 --- a/Scenes/Prefabs/GameHud.tscn +++ b/Scenes/Prefabs/GameHud.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=41 format=3 uid="uid://bod0jkf7jc5pm"] +[gd_scene load_steps=40 format=3 uid="uid://bod0jkf7jc5pm"] [ext_resource type="Script" uid="uid://bjbd3a6su47si" path="res://Scripts/Classes/UI/GameHUD.gd" id="1_f34v2"] [ext_resource type="Script" uid="uid://caq1qiwmy0mox" path="res://Scripts/Parts/BetterAnimatedSprite.gd" id="2_cbrve"] @@ -23,7 +23,6 @@ [ext_resource type="Script" uid="uid://dwtrmo82e12ud" path="res://Scripts/Parts/ColourPaletteSampler.gd" id="15_8qasw"] [ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="15_jwl8o"] [ext_resource type="PackedScene" uid="uid://n2e3jgmkilvt" path="res://Scenes/Prefabs/UI/MarathonResults.tscn" id="16_cfljn"] -[ext_resource type="FontVariation" uid="uid://djxdgxy1iv8yv" path="res://Resources/ThemedResources/FontLLMain.tres" id="17_2w8b3"] [ext_resource type="PackedScene" uid="uid://b85i7uni0twpe" path="res://Scenes/Prefabs/UI/DiscoResults.tscn" id="17_ocsy5"] [ext_resource type="Script" uid="uid://dt2p68xl462v2" path="res://Scripts/Parts/TextShadowColourChanger.gd" id="18_jwl8o"] [ext_resource type="Texture2D" uid="uid://w74s6oi3l8k8" path="res://Assets/Sprites/UI/TextShadowColours.png" id="24_h6dkv"] @@ -146,6 +145,7 @@ layer = 0 script = ExtResource("1_f34v2") [node name="Main" type="HBoxContainer" parent="."] +visible = false custom_minimum_size = Vector2(256, 32) anchors_preset = 10 anchor_right = 1.0 @@ -582,7 +582,6 @@ custom_minimum_size = Vector2(24, 0) layout_mode = 2 [node name="ModernHUD" type="Control" parent="."] -visible = false custom_minimum_size = Vector2(256, 0) layout_mode = 3 anchors_preset = 10 @@ -907,7 +906,6 @@ offset_left = 4.0 offset_top = -12.0 offset_right = 36.0 offset_bottom = 4.0 -theme_override_fonts/font = ExtResource("17_2w8b3") text = "*03" [node name="Right" type="Control" parent="ModernHUD"] diff --git a/Scripts/Parts/LabelFontChanger.gd b/Scripts/Parts/LabelFontChanger.gd index 3f6f197..2518e2c 100644 --- a/Scripts/Parts/LabelFontChanger.gd +++ b/Scripts/Parts/LabelFontChanger.gd @@ -3,8 +3,8 @@ extends Node @export var labels: Array[Label] -const MAIN_FONT = preload("uid://bl7sbw4nx3l1t") -const SCORE_FONT = preload("uid://bk0no5p6sifgu") +const MAIN_FONT = preload("res://Resources/ThemedResources/FontMain.tres") +const SCORE_FONT = preload("res://Resources/ThemedResources/ScoreFont.tres") @export var use_score_font := false