diff options
author | BrickPi <49528459+BrickPi@users.noreply.github.com> | 2023-03-12 23:17:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 23:17:34 +0100 |
commit | a25c7c762776d2a04c51f89bd7cd297287fa6175 (patch) | |
tree | 81a9c7ac40cca27c79202f6330c84a2006a24c17 /game/src/CreditsMenu/CreditsMenu.tscn | |
parent | 1810d1f2d646830d14ec39a204c5b9fb80caa974 (diff) | |
parent | 1958420f0b067eba328f6f547aeccf2d148aa326 (diff) |
Merge pull request #64 from BrickPi/credits-rename
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"] |