[gd_scene load_steps=6 format=3 uid="uid://bb6rnwye04xbh"]

[ext_resource type="Script" path="res://menu/credits.gd" id="1_0glh3"]
[ext_resource type="Texture2D" uid="uid://ulhgphjey7qq" path="res://assets/xbox_button_color_b_outline.png" id="1_j6bgo"]
[ext_resource type="Texture2D" uid="uid://ck1oqs4j0e0ym" path="res://assets/CREDITS.png" id="1_p8you"]
[ext_resource type="Script" path="res://menu/credits_text.gd" id="1_qo0p8"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_224vf"]
texture = ExtResource("1_p8you")

[node name="Credits" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_224vf")
script = ExtResource("1_0glh3")

[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 2

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 48
theme_override_constants/margin_top = 48
theme_override_constants/margin_right = 48
theme_override_constants/margin_bottom = 48

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2

[node name="Title" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 100)
layout_mode = 2
theme_override_font_sizes/bold_italics_font_size = 64
theme_override_font_sizes/italics_font_size = 64
theme_override_font_sizes/mono_font_size = 64
theme_override_font_sizes/normal_font_size = 64
theme_override_font_sizes/bold_font_size = 64
bbcode_enabled = true
text = "[center]Credits[/center]"

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3

[node name="CreditsText" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/bold_italics_font_size = 24
theme_override_font_sizes/normal_font_size = 24
theme_override_font_sizes/bold_font_size = 24
bbcode_enabled = true
text = "[b]3D Art[/b]
    Joub, Thibaud Creusé

[b]Music[/b]
    Thibaud Creusé

[b]Code[/b]
    [url=https://github.com/Gr0minet]Grominet[/url], [url=https://github.com/tehelka-gamedev]Tehelka[/url], [url=https://github.com/m09]m09[/url]

Special thanks to [url=https://github.com/Azkellas]Azkellas[/url] for help with shaders. :)"
script = ExtResource("1_qo0p8")

[node name="CreditsText2" type="RichTextLabel" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.16
theme_override_font_sizes/bold_italics_font_size = 24
theme_override_font_sizes/normal_font_size = 24
theme_override_font_sizes/bold_font_size = 24
bbcode_enabled = true
text = "[b]External Assets[/b]
    Input Prompts by Kenny (CC0) 
    [url]https://kenney.nl/assets/input-prompts[/url]
    Particle sprite by Kenny (CC0) 
    [url]https://www.kenney.nl/assets/particle-pack[/url]
    Tiles 029 by CC0 Textures (CC0) 
    [url]https://cc0-textures.com/t/cc0t-tiles-029[/url]
    Bubblez Graffiti by GGBotNet (OFL-1.1)
    [url]https://www.ggbot.net/[/url]
    Crayon Libre by GGBotNet (CC0) 
    [url]https://www.ggbot.net/[/url]
    Water shader by GDQuest (MIT) 
    [url]https://github.com/gdquest-demos/godot-4-3d-third-person-controller[/url]

[b]License[/b]
    CC BY-SA 4.0 for assets
    CC0 for code"
script = ExtResource("1_qo0p8")

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0

[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
texture = ExtResource("1_j6bgo")

[node name="ReturnLabel" type="Label" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Return"
