mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
This clears out some errors that happen on every load of this demo in Godot 4 onward. It also makes the fonts actually work, as they did not before. We probably don't strictly **need** these font settings for a demo, but they were here before. I don't think `SourceCodePro-Black.ttf` was ever used, based on looking at history. So I removed it. Both `.tres` files are gone too, as those are not used in Godot 4. I have updated everything that used `SourceCodePro-Bold.ttf` to the new setup.
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
[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
|
|
offset_bottom = 170.0
|
|
script = ExtResource("1")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Title" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("2_58if7")
|
|
text = "StateStack"
|
|
uppercase = true
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
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
|
|
|
|
[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"
|