Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion de.po
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ msgstr ""
"\n"
"[center][b]Powered By[/b][/center]\n"
"[center][img=200x200,center,center]res://icon.svg[/img][/center]\n"
"[center]Godot Game Engine 4.5[/center]"
"[center]Godot Game Engine 4.6[/center]"

#: entities/ui/credits/scenes/Credits.tscn
msgid "Kenney.nl"
Expand Down
2 changes: 1 addition & 1 deletion en.po
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ msgstr ""
"\n"
"[center][b]Powered By[/b][/center]\n"
"[center][img=200x200,center,center]res://icon.svg[/img][/center]\n"
"[center]Godot Game Engine 4.5[/center]"
"[center]Godot Game Engine 4.6[/center]"

#: entities/ui/credits/scenes/Credits.tscn
msgid "Kenney.nl"
Expand Down
8 changes: 8 additions & 0 deletions entities/ui/animation_arrow_up/scenes/AnimationArrowUp.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[gd_scene format=3 uid="uid://c6411vrwwcrjs"]

[ext_resource type="Texture2D" uid="uid://dnv727mf8n6m0" path="res://assets/icons/RetractIcon.tres" id="1_km7ps"]

[node name="TextureRect" type="TextureRect" unique_id=1988116494]
custom_minimum_size = Vector2(80, 80)
size_flags_horizontal = 8
texture = ExtResource("1_km7ps")
113 changes: 83 additions & 30 deletions entities/ui/credits/scenes/Credits.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@
[ext_resource type="Script" uid="uid://dvrn3p7xl4tpl" path="res://shared/entities/clickable_button/resources/actions/OpenLinkAction.gd" id="5_gggmv"]
[ext_resource type="Texture2D" uid="uid://doybax1rt0tgn" path="res://assets/icons/QuitIcon.tres" id="7_liw4c"]
[ext_resource type="Script" uid="uid://b03sehux5xslr" path="res://shared/entities/clickable_button/resources/actions/OpenMainMenu.gd" id="7_xxa1d"]
[ext_resource type="Script" uid="uid://rxshx7ma8nn3" path="res://shared/global_entities/control_animation_component/scripts/ControlAnimationComponent.gd" id="8_xrko3"]
[ext_resource type="Script" uid="uid://bcxjaw3jedjv5" path="res://shared/resources/control_animation/ControlAnimation.gd" id="9_5taea"]
[ext_resource type="Resource" uid="uid://dvtxx5rwv0aoo" path="res://shared/resources/control_animation/resources/FadeInAnimationDelayed.tres" id="9_chbw5"]
[ext_resource type="PackedScene" uid="uid://c6411vrwwcrjs" path="res://entities/ui/animation_arrow_up/scenes/AnimationArrowUp.tscn" id="10_5taea"]
[ext_resource type="Texture2D" uid="uid://cg0l7tvqmtghr" path="res://assets/sprites/sheet_white1x.png" id="11_5taea"]

[sub_resource type="Resource" id="Resource_4lqqu"]
script = ExtResource("7_xxa1d")
metadata/_custom_type_script = "uid://b03sehux5xslr"

[sub_resource type="Resource" id="Resource_72uk5"]
script = ExtResource("9_5taea")
position = Vector2(0, -95)
metadata/_custom_type_script = "uid://bcxjaw3jedjv5"

[sub_resource type="AtlasTexture" id="AtlasTexture_chbw5"]
atlas = ExtResource("11_5taea")
region = Rect2(150, 250, 50, 50)

[sub_resource type="Resource" id="Resource_gul80"]
script = ExtResource("5_gggmv")
Expand All @@ -30,10 +48,6 @@ script = ExtResource("5_gggmv")
link = "https://www.materialmaker.org/"
metadata/_custom_type_script = "uid://dvrn3p7xl4tpl"

[sub_resource type="Resource" id="Resource_4lqqu"]
script = ExtResource("7_xxa1d")
metadata/_custom_type_script = "uid://b03sehux5xslr"

[node name="Credits" type="CanvasLayer" unique_id=1647596529]

[node name="MenuBackground" parent="." unique_id=1813391932 instance=ExtResource("1_n8sdb")]
Expand All @@ -59,73 +73,112 @@ script = ExtResource("1_xb4j0")
timer_tick = 30.0
scroll_speed = 2

[node name="ButtonArea" type="MarginContainer" parent="." unique_id=2132915574]
anchors_preset = 12
[node name="ClostButtonMargin" type="MarginContainer" parent="." unique_id=771782369]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -15.0
grow_horizontal = 2
offset_left = -169.0
offset_top = -91.0
grow_horizontal = 0
grow_vertical = 0
size_flags_horizontal = 3
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15

[node name="CloseButton" type="Button" parent="ClostButtonMargin" unique_id=584494095]
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 8
focus_neighbor_left = NodePath("../../ButtonArea/VBoxContainer/LinkList/MaterialMaker")
focus_neighbor_right = NodePath("../../ButtonArea/VBoxContainer/LinkList/Kenney_nl")
shortcut = ExtResource("3_i56v7")
shortcut_in_tooltip = false
text = "CLOSE"
icon = ExtResource("7_liw4c")
script = ExtResource("3_ntyq1")
is_focused = true
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_4lqqu")

[node name="ButtonArea" type="MarginContainer" parent="." unique_id=2132915574]
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -50.0
offset_right = 870.0
offset_bottom = 95.0
grow_vertical = 0
size_flags_horizontal = 0
size_flags_vertical = 8
theme_override_constants/margin_left = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15

[node name="LinkList" type="HBoxContainer" parent="ButtonArea" unique_id=75402586]
[node name="ControlAnimationComponent" type="Node" parent="ButtonArea" unique_id=600937403]
script = ExtResource("8_xrko3")
enter_values = ExtResource("9_chbw5")
hover_values = SubResource("Resource_72uk5")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"

[node name="VBoxContainer" type="VBoxContainer" parent="ButtonArea" unique_id=279835640]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 8

[node name="TextureRect" parent="ButtonArea/VBoxContainer" unique_id=1988116494 instance=ExtResource("10_5taea")]
layout_mode = 2

[node name="LinkList" type="HBoxContainer" parent="ButtonArea/VBoxContainer" unique_id=75402586]
layout_mode = 2

[node name="Kenney_nl" type="Button" parent="ButtonArea/LinkList" unique_id=1793741721]
[node name="Kenney_nl" type="Button" parent="ButtonArea/VBoxContainer/LinkList" unique_id=1793741721]
layout_mode = 2
focus_neighbor_left = NodePath("../CloseButton")
focus_neighbor_left = NodePath("../../../../ClostButtonMargin/CloseButton")
focus_neighbor_right = NodePath("../Auxree")
mouse_filter = 1
text = "Kenney.nl"
icon = ExtResource("3_vnxeo")
icon = SubResource("AtlasTexture_chbw5")
script = ExtResource("3_ntyq1")
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_gul80")

[node name="Auxree" type="Button" parent="ButtonArea/LinkList" unique_id=1342980662]
[node name="Auxree" type="Button" parent="ButtonArea/VBoxContainer/LinkList" unique_id=1342980662]
layout_mode = 2
focus_neighbor_left = NodePath("../Kenney_nl")
focus_neighbor_right = NodePath("../Abstraction")
mouse_filter = 1
text = "Axuree"
icon = ExtResource("3_vnxeo")
script = ExtResource("3_ntyq1")
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_ntyq1")

[node name="Abstraction" type="Button" parent="ButtonArea/LinkList" unique_id=265739547]
[node name="Abstraction" type="Button" parent="ButtonArea/VBoxContainer/LinkList" unique_id=265739547]
layout_mode = 2
focus_neighbor_left = NodePath("../Auxree")
focus_neighbor_right = NodePath("../MaterialMaker")
mouse_filter = 1
text = "Abstraction"
icon = ExtResource("3_vnxeo")
script = ExtResource("3_ntyq1")
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_gggmv")

[node name="MaterialMaker" type="Button" parent="ButtonArea/LinkList" unique_id=207632722]
[node name="MaterialMaker" type="Button" parent="ButtonArea/VBoxContainer/LinkList" unique_id=207632722]
layout_mode = 2
focus_neighbor_left = NodePath("../Abstraction")
focus_neighbor_right = NodePath("../CloseButton")
focus_neighbor_right = NodePath("../../../../ClostButtonMargin/CloseButton")
mouse_filter = 1
text = "Material Maker"
icon = ExtResource("3_vnxeo")
script = ExtResource("3_ntyq1")
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_xxa1d")

[node name="CloseButton" type="Button" parent="ButtonArea/LinkList" unique_id=584494095]
layout_mode = 2
size_flags_horizontal = 10
focus_neighbor_left = NodePath("../MaterialMaker")
focus_neighbor_right = NodePath("../Kenney_nl")
shortcut = ExtResource("3_i56v7")
shortcut_in_tooltip = false
text = "CLOSE"
icon = ExtResource("7_liw4c")
script = ExtResource("3_ntyq1")
is_focused = true
animation_resource = ExtResource("4_5w3yf")
pressed_action = SubResource("Resource_4lqqu")
[connection signal="focus_entered" from="ButtonArea/VBoxContainer/LinkList/Kenney_nl" to="ButtonArea/ControlAnimationComponent" method="trigger_hover"]
[connection signal="focus_exited" from="ButtonArea/VBoxContainer/LinkList/Kenney_nl" to="ButtonArea/ControlAnimationComponent" method="trigger_hover_lost"]
[connection signal="focus_entered" from="ButtonArea/VBoxContainer/LinkList/Auxree" to="ButtonArea/ControlAnimationComponent" method="trigger_hover"]
[connection signal="focus_entered" from="ButtonArea/VBoxContainer/LinkList/Abstraction" to="ButtonArea/ControlAnimationComponent" method="trigger_hover"]
[connection signal="focus_entered" from="ButtonArea/VBoxContainer/LinkList/MaterialMaker" to="ButtonArea/ControlAnimationComponent" method="trigger_hover"]
[connection signal="focus_exited" from="ButtonArea/VBoxContainer/LinkList/MaterialMaker" to="ButtonArea/ControlAnimationComponent" method="trigger_hover_lost"]
42 changes: 5 additions & 37 deletions entities/ui/links/scenes/links.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
[ext_resource type="Texture2D" uid="uid://d1fc7nwftgx4y" path="res://assets/icons/QuestionIcon.tres" id="2_1cih1"]
[ext_resource type="Script" uid="uid://qgxq73rkwfr3" path="res://shared/entities/clickable_button/resources/OpenSystemFolder.gd" id="3_f67t6"]
[ext_resource type="Script" uid="uid://chfatpxf8ucxr" path="res://shared/entities/clickable_button/ClickableButton.gd" id="3_l56ar"]
[ext_resource type="Script" uid="uid://rxshx7ma8nn3" path="res://shared/global_entities/control_animation_component/scripts/ControlAnimationComponent.gd" id="4_m7voa"]
[ext_resource type="Resource" uid="uid://cakox3m20wk7q" path="res://shared/resources/control_animation/resources/DefaultButtonEnter.tres" id="5_6wbyd"]
[ext_resource type="Script" uid="uid://dvrn3p7xl4tpl" path="res://shared/entities/clickable_button/resources/actions/OpenLinkAction.gd" id="5_m7voa"]
[ext_resource type="Texture2D" uid="uid://cln3v63hwble8" path="res://assets/icons/HomeIcon.tres" id="6_6wbyd"]
[ext_resource type="Resource" uid="uid://by7h6kfigwa21" path="res://shared/resources/control_animation/resources/DefaultButtonAnimation.tres" id="6_dpv13"]
[ext_resource type="Texture2D" uid="uid://cswswoet5pppp" path="res://assets/icons/ShareIcon.tres" id="7_dpv13"]
[ext_resource type="Texture2D" uid="uid://cat86qdkpvga8" path="res://assets/icons/WarningIcon.tres" id="8_63oac"]

Expand Down Expand Up @@ -45,82 +42,53 @@ size_flags_horizontal = 8
[node name="OpenCustomDeckFolder" type="Button" parent="." unique_id=2116555998]
layout_mode = 2
tooltip_text = "OPEN_DECK_FOLDER_TOOLTIP"
mouse_filter = 1
icon = ExtResource("1_1cih1")
script = ExtResource("3_l56ar")
active = 2
only_visible_if_custom_deck_active = true
pressed_action = SubResource("Resource_m7voa")

[node name="ControlAnimationComponent" type="Node" parent="OpenCustomDeckFolder" unique_id=977552176]
script = ExtResource("4_m7voa")
enter_values = ExtResource("5_6wbyd")
hover_values = ExtResource("6_dpv13")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"

[node name="HowToPlay" type="Button" parent="." unique_id=1979169242]
layout_mode = 2
size_flags_horizontal = 8
tooltip_text = "HOW_TO_PLAY"
focus_neighbor_right = NodePath("../GitHubRepository")
focus_next = NodePath("../GitHubRepository")
focus_previous = NodePath("../../../CenterMainMenu/PanelContainer/MarginContainer/VBoxContainer/Quit")
mouse_filter = 1
shortcut = ExtResource("1_2ay2a")
icon = ExtResource("2_1cih1")
script = ExtResource("3_l56ar")
pressed_action = SubResource("Resource_ssyfv")

[node name="ControlAnimationComponent" type="Node" parent="HowToPlay" unique_id=1737761850 node_paths=PackedStringArray("await_component")]
script = ExtResource("4_m7voa")
await_component = NodePath("../../OpenCustomDeckFolder/ControlAnimationComponent")
enter_values = ExtResource("5_6wbyd")
hover_values = ExtResource("6_dpv13")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"

[node name="GitHubRepository" type="Button" parent="." unique_id=511307644]
layout_mode = 2
size_flags_horizontal = 8
tooltip_text = "GITHUB_REPOSITORY_BUTTON"
focus_neighbor_left = NodePath("../HowToPlay")
focus_neighbor_right = NodePath("../OpenGameSite")
mouse_filter = 1
icon = ExtResource("6_6wbyd")
script = ExtResource("3_l56ar")
pressed_action = SubResource("Resource_bmgck")

[node name="ControlAnimationComponent" type="Node" parent="GitHubRepository" unique_id=1581642327 node_paths=PackedStringArray("await_component")]
script = ExtResource("4_m7voa")
await_component = NodePath("../../HowToPlay/ControlAnimationComponent")
enter_values = ExtResource("5_6wbyd")
hover_values = ExtResource("6_dpv13")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"

[node name="OpenGameSite" type="Button" parent="." unique_id=540372814]
layout_mode = 2
tooltip_text = "GAME_PAGE"
focus_neighbor_left = NodePath("../GitHubRepository")
focus_neighbor_right = NodePath("../ReportBug")
mouse_filter = 1
icon = ExtResource("7_dpv13")
script = ExtResource("3_l56ar")
pressed_action = SubResource("Resource_7m08p")

[node name="ControlAnimationComponent" type="Node" parent="OpenGameSite" unique_id=1020999169 node_paths=PackedStringArray("await_component")]
script = ExtResource("4_m7voa")
await_component = NodePath("../../GitHubRepository/ControlAnimationComponent")
enter_values = ExtResource("5_6wbyd")
hover_values = ExtResource("6_dpv13")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"

[node name="ReportBug" type="Button" parent="." unique_id=129169406]
layout_mode = 2
tooltip_text = "REPORT_BUG"
focus_neighbor_left = NodePath("../OpenGameSite")
focus_neighbor_right = NodePath("../HowToPlay")
mouse_filter = 1
icon = ExtResource("8_63oac")
script = ExtResource("3_l56ar")
pressed_action = SubResource("Resource_q0p35")

[node name="ControlAnimationComponent" type="Node" parent="ReportBug" unique_id=457431092 node_paths=PackedStringArray("await_component")]
script = ExtResource("4_m7voa")
await_component = NodePath("../../OpenGameSite/ControlAnimationComponent")
enter_values = ExtResource("5_6wbyd")
hover_values = ExtResource("6_dpv13")
metadata/_custom_type_script = "uid://rxshx7ma8nn3"
Loading
Loading