Adds border to text to make it more readable

master
TechieDamien 2025-08-03 11:04:46 +01:00
parent 2f1950eaf3
commit 296a2f3c28
Signed by: TechieDamien
GPG Key ID: 2ACE3574E164B780
4 changed files with 28 additions and 2 deletions

View File

@ -7,6 +7,8 @@
[sub_resource type="LabelSettings" id="LabelSettings_7upku"] [sub_resource type="LabelSettings" id="LabelSettings_7upku"]
font = ExtResource("2_i22rp") font = ExtResource("2_i22rp")
font_size = 32 font_size = 32
outline_size = 6
outline_color = Color(0, 0, 0, 1)
[node name="Panel" type="Panel" groups=["GameOverMenu"]] [node name="Panel" type="Panel" groups=["GameOverMenu"]]
visible = false visible = false

View File

@ -29,6 +29,8 @@ sources/0 = SubResource("TileSetAtlasSource_6bp64")
[sub_resource type="LabelSettings" id="LabelSettings_wsu2k"] [sub_resource type="LabelSettings" id="LabelSettings_wsu2k"]
font = ExtResource("14_jkdf5") font = ExtResource("14_jkdf5")
font_size = 18 font_size = 18
outline_size = 6
outline_color = Color(0, 0, 0, 1)
[node name="Main" type="Node2D"] [node name="Main" type="Node2D"]

View File

@ -16,22 +16,42 @@
[sub_resource type="LabelSettings" id="LabelSettings_ce3w2"] [sub_resource type="LabelSettings" id="LabelSettings_ce3w2"]
font_size = 160 font_size = 160
font_color = Color(1, 0.271, 0, 1) 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"] [sub_resource type="LabelSettings" id="LabelSettings_n45e2"]
font_size = 160 font_size = 160
font_color = Color(1, 1, 0, 1) 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"] [sub_resource type="LabelSettings" id="LabelSettings_opfnp"]
font_size = 160 font_size = 160
font_color = Color(0, 0.545, 0.545, 1) 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"] [sub_resource type="LabelSettings" id="LabelSettings_cp0ys"]
font_size = 160 font_size = 160
font_color = Color(0.4, 0.2, 0.6, 1) 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"] [sub_resource type="LabelSettings" id="LabelSettings_yhxw7"]
font_size = 160 font_size = 160
font_color = Color(1, 0.270588, 0, 1) 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"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_trj04"]
bg_color = Color(0, 0, 0, 1) bg_color = Color(0, 0, 0, 1)
@ -152,9 +172,9 @@ label_settings = SubResource("LabelSettings_ce3w2")
[node name="Label5" type="Label" parent="Title"] [node name="Label5" type="Label" parent="Title"]
layout_mode = 0 layout_mode = 0
offset_left = 459.0 offset_left = 452.0
offset_top = 65.0 offset_top = 65.0
offset_right = 630.0 offset_right = 623.0
offset_bottom = 289.0 offset_bottom = 289.0
text = "r" text = "r"
label_settings = SubResource("LabelSettings_n45e2") label_settings = SubResource("LabelSettings_n45e2")

View File

@ -4,8 +4,10 @@
[ext_resource type="FontFile" uid="uid://cupgp2iqxdun5" path="res://Fonts/Kings-Regular.ttf" id="2_s1pvd"] [ext_resource type="FontFile" uid="uid://cupgp2iqxdun5" path="res://Fonts/Kings-Regular.ttf" id="2_s1pvd"]
[sub_resource type="LabelSettings" id="LabelSettings_abl27"] [sub_resource type="LabelSettings" id="LabelSettings_abl27"]
line_spacing = 0.0
font = ExtResource("2_s1pvd") font = ExtResource("2_s1pvd")
font_size = 22 font_size = 22
outline_size = 6
outline_color = Color(0, 0, 0, 1) outline_color = Color(0, 0, 0, 1)
[node name="ScoreDisplay" type="VBoxContainer"] [node name="ScoreDisplay" type="VBoxContainer"]