From 8c9a84495d3d9a140c5b3aceb58bf8351e61ff0e Mon Sep 17 00:00:00 2001 From: Ententerminator Date: Sun, 2 Feb 2020 16:39:12 +0100 Subject: [PATCH] player health font --- UI/UI.tscn | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/UI/UI.tscn b/UI/UI.tscn index 13854aa..bf3cd78 100644 --- a/UI/UI.tscn +++ b/UI/UI.tscn @@ -1,6 +1,13 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://UI/PlayerHealth.gd" type="Script" id=1] +[ext_resource path="res://Resources/Fonts/beneg___.ttf" type="DynamicFontData" id=2] + +[sub_resource type="DynamicFont" id=1] +font_data = ExtResource( 2 ) + +[sub_resource type="DynamicFont" id=2] +font_data = ExtResource( 2 ) [node name="UI" type="Control"] anchor_right = 1.0 @@ -41,7 +48,8 @@ dragger_visibility = 1 [node name="Player1Health" type="ProgressBar" parent="MarginContainer/PlayerHealthController/VSplitContainer/HSplitContainer"] margin_right = 496.0 -margin_bottom = 14.0 +margin_bottom = 17.0 +custom_fonts/font = SubResource( 1 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false @@ -50,7 +58,8 @@ __meta__ = { [node name="Player2Health" type="ProgressBar" parent="MarginContainer/PlayerHealthController/VSplitContainer/HSplitContainer"] margin_left = 508.0 margin_right = 984.0 -margin_bottom = 14.0 +margin_bottom = 17.0 +custom_fonts/font = SubResource( 2 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false