mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 15:43:46 +00:00
Credits screen
This commit is contained in:
parent
6d572503cb
commit
90cc97c669
10 changed files with 210 additions and 8 deletions
85
Scenes/HUD/CreditsMenu.tscn
Normal file
85
Scenes/HUD/CreditsMenu.tscn
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://cmdf7cbqbxedj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bbssj2rkbqysu" path="res://Scripts/UI/CreditsMenu.cs" id="1_7p0um"]
|
||||
[ext_resource type="Resource" uid="uid://cojsc1rtf41i1" path="res://Resources/Credits.tres" id="2_6xeqb"]
|
||||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="2_ahn81"]
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="3_6xeqb"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="3_xr5nf"]
|
||||
[ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="6_v8423"]
|
||||
[ext_resource type="LabelSettings" uid="uid://b7aiiua04uma4" path="res://Resources/Styles/Credits_Section_Style.tres" id="7_5tqy8"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_xr5nf"]
|
||||
font = ExtResource("3_6xeqb")
|
||||
font_size = 20
|
||||
outline_size = 4
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="CreditsMenu" type="VBoxContainer" node_paths=PackedStringArray("CreditsContainer")]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_7p0um")
|
||||
Credits = ExtResource("2_6xeqb")
|
||||
CreditsContainer = NodePath("ScrollContainer/VBoxContainer")
|
||||
LabelSettings = ExtResource("3_xr5nf")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BackButton" type="Button" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource("2_ahn81")
|
||||
text = "Back"
|
||||
|
||||
[node name="Name" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "CREDITS"
|
||||
label_settings = SubResource("LabelSettings_xr5nf")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("2_ahn81")
|
||||
theme_override_styles/panel = ExtResource("6_v8423")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "asdf"
|
||||
label_settings = ExtResource("3_xr5nf")
|
||||
|
||||
[node name="Label2" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "fdas"
|
||||
label_settings = ExtResource("3_xr5nf")
|
||||
|
||||
[node name="Label3" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "gfdsgfdsg"
|
||||
|
||||
[node name="Label4" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Title"
|
||||
label_settings = ExtResource("7_5tqy8")
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "TEST"
|
||||
label_settings = ExtResource("7_5tqy8")
|
||||
|
||||
[connection signal="pressed" from="HBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue