refactoring UI
This commit was merged in pull request #26.
This commit is contained in:
@@ -1,51 +1,82 @@
|
||||
[gd_scene format=3 uid="uid://wckwvvnk8bt4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7q3d823b1v1h" path="res://core/game_menu/biome_picker.gd" id="1_jqji0"]
|
||||
[ext_resource type="Texture2D" uid="uid://dc0sl04wem136" path="res://core/game_menu/assets/page_1/color_main_biome.png" id="2_8s4h5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj6pt25w5i4jq" path="res://core/game_menu/assets/page_1/lucchetto.png" id="2_jqji0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/game_menu/hoover_tween.tscn" id="4_8s4h5"]
|
||||
|
||||
[node name="BiomePicker" type="Control" unique_id=52821564]
|
||||
layout_mode = 3
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jqji0"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8s4h5"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ntcky"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_aj0ly"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sqe3j"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0slqm"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_idpud"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7dp31"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_le5rt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rs8ck"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6gubq"]
|
||||
|
||||
[node name="BiomePicker" type="Button" unique_id=913478047]
|
||||
custom_minimum_size = Vector2(161, 343)
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.08385417
|
||||
anchor_bottom = 0.3175926
|
||||
offset_right = -153.0
|
||||
offset_bottom = -335.0
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_jqji0")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_8s4h5")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_ntcky")
|
||||
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_aj0ly")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_sqe3j")
|
||||
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_0slqm")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_idpud")
|
||||
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_7dp31")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_le5rt")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_rs8ck")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_6gubq")
|
||||
script = ExtResource("1_jqji0")
|
||||
image = ExtResource("2_8s4h5")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="." unique_id=606844933]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(161, 343)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_jqji0")
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="." unique_id=606844933]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.47161457
|
||||
anchor_top = 0.39027777
|
||||
anchor_right = 0.5283854
|
||||
anchor_bottom = 0.6097222
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_8s4h5")
|
||||
stretch_mode = 3
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="Texture" unique_id=288045010]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.36645964
|
||||
anchor_top = 0.41690964
|
||||
anchor_right = 0.6335404
|
||||
anchor_bottom = 0.58309036
|
||||
offset_left = 1.5
|
||||
offset_top = 8.5
|
||||
offset_right = -1.5
|
||||
offset_bottom = -8.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("2_jqji0")
|
||||
|
||||
[node name="HooverTween" parent="." unique_id=160227524 node_paths=PackedStringArray("detector_node", "visual_node") instance=ExtResource("4_8s4h5")]
|
||||
unique_name_in_owner = true
|
||||
detector_node = NodePath("..")
|
||||
visual_node = NodePath("../Texture")
|
||||
scale_amount = Vector2(1.05, 1.05)
|
||||
[connection signal="pressed" from="." to="." method="_on_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user