[gd_scene load_steps=2 format=3 uid="uid://cspq2y7mvjxn5"] [ext_resource type="Script" path="res://scenes/ui/Credits.gd" id="1_credits"] [node name="Credits" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_credits") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 40 theme_override_constants/margin_top = 40 theme_override_constants/margin_right = 40 theme_override_constants/margin_bottom = 40 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 [node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 horizontal_scroll_mode = 0 follow_focus = true [node name="CreditsText" type="RichTextLabel" parent="MarginContainer/VBoxContainer/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 bbcode_enabled = true text = "[center][b]CREDITS[/b][/center] Loading credits..." fit_content = true scroll_active = false [node name="BackButton" type="Button" parent="MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(150, 50) layout_mode = 2 size_flags_horizontal = 4 text = "Back" [connection signal="pressed" from="MarginContainer/VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]