diff options
author | Joel Machens <ajmach6@gmail.com> | 2023-03-12 22:28:07 +0100 |
---|---|---|
committer | Joel Machens <ajmach6@gmail.com> | 2023-03-12 22:29:10 +0100 |
commit | 1958420f0b067eba328f6f547aeccf2d148aa326 (patch) | |
tree | 34fb672729e310b417697211eb1a0099f8949118 /game/src/CreditsMenu/CreditsMenu.tscn | |
parent | 56aec8a72b96a7d9ae8fa7974cf1eb7560ab4c02 (diff) |
Refactor Credits -> CreditsMenu
Diffstat (limited to 'game/src/CreditsMenu/CreditsMenu.tscn')
-rw-r--r-- | game/src/CreditsMenu/CreditsMenu.tscn | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/game/src/CreditsMenu/CreditsMenu.tscn b/game/src/CreditsMenu/CreditsMenu.tscn new file mode 100644 index 0000000..8a81823 --- /dev/null +++ b/game/src/CreditsMenu/CreditsMenu.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=2 format=3 uid="uid://c8knthxkwj1uj"] + +[ext_resource type="Script" path="res://src/CreditsMenu/CreditsMenu.gd" id="1_csd7i"] + +[node name="CreditsMenu" type="Control" node_paths=PackedStringArray("credits_list")] +editor_description = "UI-34" +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_csd7i") +core_credits_path = "res://common/credits.csv" +label_variants_project = &"Label_ProjectCredits" +label_variants_role = &"Label_RoleCredits" +label_variants_person = &"Label_PersonCredits" +credits_list = NodePath("Scroll/CreditsList") + +[node name="ControlMargin" type="MarginContainer" parent="."] +layout_mode = 2 +anchor_right = 1.0 +anchor_bottom = 0.071 +offset_bottom = -0.120003 +theme_override_constants/margin_left = 20 +theme_override_constants/margin_top = 10 +theme_override_constants/margin_right = 20 +theme_override_constants/margin_bottom = 10 + +[node name="BackButton" type="Button" parent="ControlMargin"] +editor_description = "UI-38" +layout_mode = 2 +text = "Back to Main Menu" + +[node name="Scroll" type="ScrollContainer" parent="."] +editor_description = "UI-35" +layout_mode = 2 +anchor_top = 0.071 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_top = -0.120003 +offset_bottom = -6.0 + +[node name="CreditsList" type="VBoxContainer" parent="Scroll"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 + +[connection signal="pressed" from="ControlMargin/BackButton" to="." method="_on_back_button_pressed"] |