From 296a2f3c289ba2d3e970afa1786003f27d25a646 Mon Sep 17 00:00:00 2001 From: TechieDamien Date: Sun, 3 Aug 2025 11:04:46 +0100 Subject: [PATCH] Adds border to text to make it more readable --- Scenes/game_over_menu.tscn | 2 ++ Scenes/main.tscn | 2 ++ Scenes/main_menu.tscn | 24 ++++++++++++++++++++++-- Scenes/score_display.tscn | 2 ++ 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Scenes/game_over_menu.tscn b/Scenes/game_over_menu.tscn index b770052..0612f6b 100644 --- a/Scenes/game_over_menu.tscn +++ b/Scenes/game_over_menu.tscn @@ -7,6 +7,8 @@ [sub_resource type="LabelSettings" id="LabelSettings_7upku"] font = ExtResource("2_i22rp") font_size = 32 +outline_size = 6 +outline_color = Color(0, 0, 0, 1) [node name="Panel" type="Panel" groups=["GameOverMenu"]] visible = false diff --git a/Scenes/main.tscn b/Scenes/main.tscn index 9714013..85ce059 100644 --- a/Scenes/main.tscn +++ b/Scenes/main.tscn @@ -29,6 +29,8 @@ sources/0 = SubResource("TileSetAtlasSource_6bp64") [sub_resource type="LabelSettings" id="LabelSettings_wsu2k"] font = ExtResource("14_jkdf5") font_size = 18 +outline_size = 6 +outline_color = Color(0, 0, 0, 1) [node name="Main" type="Node2D"] diff --git a/Scenes/main_menu.tscn b/Scenes/main_menu.tscn index 71a86db..e63d9b2 100644 --- a/Scenes/main_menu.tscn +++ b/Scenes/main_menu.tscn @@ -16,22 +16,42 @@ [sub_resource type="LabelSettings" id="LabelSettings_ce3w2"] font_size = 160 font_color = Color(1, 0.271, 0, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) +shadow_color = Color(0, 0, 0, 0.5) +shadow_offset = Vector2(5, 5) [sub_resource type="LabelSettings" id="LabelSettings_n45e2"] font_size = 160 font_color = Color(1, 1, 0, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) +shadow_color = Color(0, 0, 0, 0.5) +shadow_offset = Vector2(5, 5) [sub_resource type="LabelSettings" id="LabelSettings_opfnp"] font_size = 160 font_color = Color(0, 0.545, 0.545, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) +shadow_color = Color(0, 0, 0, 0.5) +shadow_offset = Vector2(5, 5) [sub_resource type="LabelSettings" id="LabelSettings_cp0ys"] font_size = 160 font_color = Color(0.4, 0.2, 0.6, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) +shadow_color = Color(0, 0, 0, 0.5) +shadow_offset = Vector2(5, 5) [sub_resource type="LabelSettings" id="LabelSettings_yhxw7"] font_size = 160 font_color = Color(1, 0.270588, 0, 1) +outline_size = 4 +outline_color = Color(0, 0, 0, 1) +shadow_color = Color(0, 0, 0, 0.5) +shadow_offset = Vector2(5, 5) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_trj04"] bg_color = Color(0, 0, 0, 1) @@ -152,9 +172,9 @@ label_settings = SubResource("LabelSettings_ce3w2") [node name="Label5" type="Label" parent="Title"] layout_mode = 0 -offset_left = 459.0 +offset_left = 452.0 offset_top = 65.0 -offset_right = 630.0 +offset_right = 623.0 offset_bottom = 289.0 text = "r" label_settings = SubResource("LabelSettings_n45e2") diff --git a/Scenes/score_display.tscn b/Scenes/score_display.tscn index f4e63a2..48a26b7 100644 --- a/Scenes/score_display.tscn +++ b/Scenes/score_display.tscn @@ -4,8 +4,10 @@ [ext_resource type="FontFile" uid="uid://cupgp2iqxdun5" path="res://Fonts/Kings-Regular.ttf" id="2_s1pvd"] [sub_resource type="LabelSettings" id="LabelSettings_abl27"] +line_spacing = 0.0 font = ExtResource("2_s1pvd") font_size = 22 +outline_size = 6 outline_color = Color(0, 0, 0, 1) [node name="ScoreDisplay" type="VBoxContainer"]