137 lines
4.1 KiB
Text
137 lines
4.1 KiB
Text
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://ui/hotbar.gd" id="1_script"]
|
|
[ext_resource type="Theme" path="res://ui/game_theme.tres" id="2_theme"]
|
|
[ext_resource type="PackedScene" path="res://ui/components/bubble_hotbar/bubble_hotbar_slot.tscn" id="3_slot"]
|
|
|
|
[node name="Hotbar" type="Control"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
z_index = 20
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("2_theme")
|
|
script = ExtResource("1_script")
|
|
|
|
[node name="ResponsiveHotbarStage" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="HotbarPresentationScaleRoot" type="Control" parent="ResponsiveHotbarStage"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_right = 1280.0
|
|
offset_bottom = 720.0
|
|
mouse_filter = 2
|
|
|
|
[node name="BubbleField" type="Control" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 245.0
|
|
offset_top = 608.0
|
|
offset_right = 1035.0
|
|
offset_bottom = 712.0
|
|
mouse_filter = 2
|
|
|
|
[node name="Slot1" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 0
|
|
desktop_anchor = Vector2(55, 49)
|
|
compact_anchor = Vector2(50, 42)
|
|
motion_phase = 0.15
|
|
|
|
[node name="Slot2" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 1
|
|
desktop_anchor = Vector2(140, 53)
|
|
compact_anchor = Vector2(110, 46)
|
|
motion_phase = 0.82
|
|
|
|
[node name="Slot3" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 2
|
|
desktop_anchor = Vector2(225, 57)
|
|
compact_anchor = Vector2(170, 50)
|
|
motion_phase = 1.49
|
|
|
|
[node name="Slot4" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 3
|
|
desktop_anchor = Vector2(310, 60)
|
|
compact_anchor = Vector2(230, 53)
|
|
motion_phase = 2.16
|
|
|
|
[node name="Slot5" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 4
|
|
desktop_anchor = Vector2(395, 62)
|
|
compact_anchor = Vector2(290, 55)
|
|
motion_phase = 2.83
|
|
|
|
[node name="Slot6" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 5
|
|
desktop_anchor = Vector2(480, 60)
|
|
compact_anchor = Vector2(350, 53)
|
|
motion_phase = 3.5
|
|
|
|
[node name="Slot7" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 6
|
|
desktop_anchor = Vector2(565, 57)
|
|
compact_anchor = Vector2(410, 50)
|
|
motion_phase = 4.17
|
|
|
|
[node name="Slot8" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 7
|
|
desktop_anchor = Vector2(650, 53)
|
|
compact_anchor = Vector2(470, 46)
|
|
motion_phase = 4.84
|
|
|
|
[node name="Slot9" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot/BubbleField" instance=ExtResource("3_slot")]
|
|
layout_mode = 0
|
|
slot_index = 8
|
|
desktop_anchor = Vector2(735, 49)
|
|
compact_anchor = Vector2(530, 42)
|
|
motion_phase = 5.51
|
|
|
|
[node name="SelectedItemLabel" type="Label" parent="ResponsiveHotbarStage/HotbarPresentationScaleRoot"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -150.0
|
|
offset_top = -132.0
|
|
offset_right = 150.0
|
|
offset_bottom = -112.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
mouse_filter = 2
|
|
clip_text = true
|
|
text_overrun_behavior = 3
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
theme_override_colors/font_color = Color(0.925, 0.953, 0.965, 1)
|
|
theme_override_colors/font_outline_color = Color(0.015, 0.02, 0.03, 0.95)
|
|
theme_override_constants/outline_size = 2
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="ItemNameTimer" type="Timer" parent="."]
|
|
unique_name_in_owner = true
|
|
wait_time = 1.5
|
|
one_shot = true
|