refactoring UI

This commit was merged in pull request #26.
This commit is contained in:
2026-06-01 09:03:31 +00:00
parent 50ea1d8bbd
commit dcf5d28248
62 changed files with 2088 additions and 489 deletions

View File

@@ -2,37 +2,44 @@
[ext_resource type="Texture2D" uid="uid://cm7fok7lhrano" path="res://core/game_menu/assets/page_1/freccetta.png" id="1_vbu0v"]
[ext_resource type="Script" uid="uid://3uxuhvua1036" path="res://core/game_menu/arrow_button.gd" id="2_xq7pl"]
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/game_menu/hoover_tween.tscn" id="3_hu4cn"]
[node name="ArrowButton" type="Control" unique_id=1696751730]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xq7pl"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hu4cn"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fttf3"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_05bm2"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_kc324"]
[node name="ArrowButton" type="Button" unique_id=579258112]
custom_minimum_size = Vector2(101, 124)
layout_mode = 3
anchors_preset = -1
anchor_right = 0.052604165
anchor_bottom = 0.11481482
pivot_offset_ratio = Vector2(0.5, 0.5)
theme_override_styles/normal = SubResource("StyleBoxEmpty_xq7pl")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_hu4cn")
theme_override_styles/hover = SubResource("StyleBoxEmpty_fttf3")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_05bm2")
theme_override_styles/focus = SubResource("StyleBoxEmpty_kc324")
script = ExtResource("2_xq7pl")
image = ExtResource("1_vbu0v")
metadata/_edit_use_anchors_ = true
[node name="Texture" type="TextureRect" parent="." unique_id=91599097]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(0.5, 0.5)
script = ExtResource("2_xq7pl")
image = ExtResource("1_vbu0v")
[node name="Texture" type="TextureRect" parent="." unique_id=91599097]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.47369793
anchor_top = 0.4425926
anchor_right = 0.5263021
anchor_bottom = 0.5574074
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
mouse_filter = 2
texture = ExtResource("1_vbu0v")
metadata/_edit_use_anchors_ = true
[node name="HooverTween" parent="." unique_id=2115829120 node_paths=PackedStringArray("detector_node", "visual_node") instance=ExtResource("3_hu4cn")]
detector_node = NodePath("..")
visual_node = NodePath("../Texture")
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
[connection signal="pressed" from="." to="." method="_on_pressed"]