From 4e099cf1d3f5fa37e9aa520d90aaf505fee3ce23 Mon Sep 17 00:00:00 2001 From: Brendan Griffiths <96725360+Orwellian-225@users.noreply.github.com> Date: Wed, 1 Mar 2023 18:00:24 +0200 Subject: add: credits.csv - req: FS4 (#16) Requirements met by this PR: SS-17 SS-29 [1] UI-32 UI-34 UIFUN-36 UI-35 UI-38 UIFUN-37 FS-4 --- game/src/GameMenu.tscn | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'game/src/GameMenu.tscn') diff --git a/game/src/GameMenu.tscn b/game/src/GameMenu.tscn index 8f9d0f3..9442d1a 100644 --- a/game/src/GameMenu.tscn +++ b/game/src/GameMenu.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=6 format=3 uid="uid://b4pg2y2ivib8f"] +[gd_scene load_steps=7 format=3 uid="uid://b4pg2y2ivib8f"] [ext_resource type="Script" path="res://src/GameMenu.gd" id="1_cafwe"] [ext_resource type="PackedScene" uid="uid://dvoin538iby54" path="res://src/MainMenu/MainMenu.tscn" id="2_2jbkh"] [ext_resource type="PackedScene" uid="uid://cnbfxjy1m6wja" path="res://src/OptionMenu/OptionsMenu.tscn" id="3_111lv"] [ext_resource type="PackedScene" uid="uid://b7oncobnacxmt" path="res://src/LocaleButton.tscn" id="4_jno35"] +[ext_resource type="PackedScene" uid="uid://c8knthxkwj1uj" path="res://src/Credits/Credits.tscn" id="4_n0hoo"] [ext_resource type="PackedScene" uid="uid://crhkgngfnxf4y" path="res://src/LobbyMenu/LobbyMenu.tscn" id="4_nofk1"] [node name="GameMenu" type="Control"] @@ -27,6 +28,10 @@ layout_mode = 1 visible = false layout_mode = 1 +[node name="Credits" parent="." instance=ExtResource("4_n0hoo")] +visible = false +layout_mode = 1 + [node name="HBox" type="HBoxContainer" parent="."] layout_mode = 1 anchors_preset = 3 @@ -43,7 +48,9 @@ alignment = 2 [node name="LocaleButton" parent="HBox" instance=ExtResource("4_jno35")] layout_mode = 2 +[connection signal="credits_button_pressed" from="MainMenu" to="." method="_on_main_menu_credits_button_pressed"] [connection signal="new_game_button_pressed" from="MainMenu" to="." method="_on_main_menu_new_game_button_pressed"] [connection signal="options_button_pressed" from="MainMenu" to="." method="_on_main_menu_options_button_pressed"] [connection signal="back_button_pressed" from="OptionsMenu" to="." method="_on_options_menu_back_button_pressed"] [connection signal="back_button_pressed" from="LobbyMenu" to="." method="_on_lobby_menu_back_button_pressed"] +[connection signal="back_button_pressed" from="Credits" to="." method="_on_credits_back_button_pressed"] -- cgit v1.2.3-56-ga3b1