diff --git a/2d/finite_state_machine/Demo.tscn b/2d/finite_state_machine/Demo.tscn index ca5d6efc..b5ab5cbe 100644 --- a/2d/finite_state_machine/Demo.tscn +++ b/2d/finite_state_machine/Demo.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=8 format=3 uid="uid://dmn8nkpogiwsf"] +[gd_scene load_steps=9 format=3 uid="uid://dmn8nkpogiwsf"] [ext_resource type="PackedScene" uid="uid://bpdyvy2681m3i" path="res://player/Player.tscn" id="1"] +[ext_resource type="FontFile" uid="uid://b5bspum6ffekd" path="res://fonts/SourceCodePro-Bold.ttf" id="2_r1c5f"] [ext_resource type="PackedScene" uid="uid://cvi13chv8g4hj" path="res://debug/StatesStackDiplayer.tscn" id="3"] [ext_resource type="PackedScene" uid="uid://bq6rrfy53rfvo" path="res://debug/ControlsPanel.tscn" id="4"] @@ -43,6 +44,9 @@ libraries = { "": SubResource("AnimationLibrary_qbwwp") } +[node name="StateNameDisplayer" parent="Player" index="5"] +theme_override_fonts/font = ExtResource("2_r1c5f") + [node name="Explanations" type="RichTextLabel" parent="."] anchors_preset = 15 anchor_right = 1.0 diff --git a/2d/finite_state_machine/debug/StatesStackDiplayer.tscn b/2d/finite_state_machine/debug/StatesStackDiplayer.tscn index d4a90490..90cc04d6 100644 --- a/2d/finite_state_machine/debug/StatesStackDiplayer.tscn +++ b/2d/finite_state_machine/debug/StatesStackDiplayer.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=3 uid="uid://cvi13chv8g4hj"] +[gd_scene load_steps=3 format=3 uid="uid://cvi13chv8g4hj"] [ext_resource type="Script" path="res://debug/states_stack_displayer.gd" id="1"] +[ext_resource type="FontFile" uid="uid://b5bspum6ffekd" path="res://fonts/SourceCodePro-Bold.ttf" id="2_58if7"] [node name="StatesStackDiplayer" type="Panel"] offset_right = 210.0 @@ -17,6 +18,7 @@ grow_vertical = 2 [node name="Title" type="Label" parent="VBoxContainer"] layout_mode = 2 +theme_override_fonts/font = ExtResource("2_58if7") text = "StateStack" uppercase = true @@ -26,6 +28,7 @@ layout_mode = 2 [node name="Numbers" type="Label" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 +theme_override_fonts/font = ExtResource("2_58if7") text = "1. 2." horizontal_alignment = 2 @@ -33,5 +36,6 @@ horizontal_alignment = 2 [node name="States" type="Label" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 +theme_override_fonts/font = ExtResource("2_58if7") text = "Jump Test" diff --git a/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf b/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf deleted file mode 100644 index 0bcfec63..00000000 Binary files a/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf and /dev/null differ diff --git a/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf.import b/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf.import deleted file mode 100644 index 3d53fa4e..00000000 --- a/2d/finite_state_machine/fonts/SourceCodePro-Black.ttf.import +++ /dev/null @@ -1,33 +0,0 @@ -[remap] - -importer="font_data_dynamic" -type="FontFile" -uid="uid://b7c5m4mw0jhww" -path="res://.godot/imported/SourceCodePro-Black.ttf-5ac54eeedbdedbc63d01069716d9852f.fontdata" - -[deps] - -source_file="res://fonts/SourceCodePro-Black.ttf" -dest_files=["res://.godot/imported/SourceCodePro-Black.ttf-5ac54eeedbdedbc63d01069716d9852f.fontdata"] - -[params] - -Rendering=null -antialiasing=1 -generate_mipmaps=false -multichannel_signed_distance_field=false -msdf_pixel_range=8 -msdf_size=48 -allow_system_fallback=true -force_autohinter=false -hinting=1 -subpixel_positioning=1 -oversampling=0.0 -Fallbacks=null -fallbacks=[] -Compress=null -compress=true -preload=[] -language_support={} -script_support={} -opentype_features={} diff --git a/2d/finite_state_machine/fonts/source_code_pro_explanations.tres b/2d/finite_state_machine/fonts/source_code_pro_explanations.tres deleted file mode 100644 index 71c22830..00000000 --- a/2d/finite_state_machine/fonts/source_code_pro_explanations.tres +++ /dev/null @@ -1,12 +0,0 @@ -[gd_resource type="Font" load_steps=2 format=2] - -[ext_resource path="res://fonts/SourceCodePro-Bold.ttf" type="FontData" id=1] - -[resource] - -size = 20 -use_mipmaps = false -use_filter = true -font_data = ExtResource( 1 ) -_sections_unfolded = [ "Font", "Settings" ] - diff --git a/2d/finite_state_machine/fonts/source_code_pro_explanations_bold.tres b/2d/finite_state_machine/fonts/source_code_pro_explanations_bold.tres deleted file mode 100644 index 47ddd771..00000000 --- a/2d/finite_state_machine/fonts/source_code_pro_explanations_bold.tres +++ /dev/null @@ -1,12 +0,0 @@ -[gd_resource type="Font" load_steps=2 format=2] - -[ext_resource path="res://fonts/SourceCodePro-Black.ttf" type="FontData" id=1] - -[resource] - -size = 24 -use_mipmaps = false -use_filter = true -font_data = ExtResource( 1 ) -_sections_unfolded = [ "Font", "Settings" ] -