[gd_scene load_steps=21 format=3 uid="uid://o6e5ybx262ig"] [ext_resource type="Script" uid="uid://466pugqribug" path="res://scenes/inventory/inventory.gd" id="1_el5y6"] [ext_resource type="PackedScene" uid="uid://csdmile32lfyy" path="res://scenes/inventory/number/number.tscn" id="2_4axmw"] [ext_resource type="Texture2D" uid="uid://wygld7k1t3ad" path="res://scenes/inventory/WindowPane.png" id="4_bxceu"] [ext_resource type="FontFile" uid="uid://cukc34hue3c0h" path="res://etc/pixelated.ttf" id="4_tvok8"] [ext_resource type="PackedScene" uid="uid://2o4sa1c2rd1a" path="res://scenes/inventory/bonus/bonus.tscn" id="5_bxceu"] [ext_resource type="Texture2D" uid="uid://c8ptw6uydekn8" path="res://scenes/inventory/lock.png" id="6_v8e04"] [ext_resource type="FontFile" uid="uid://dj1hgg8vhug8j" path="res://etc/slkscr.ttf" id="7_kl7fi"] [ext_resource type="PackedScene" uid="uid://bsedu348niu4n" path="res://scenes/inventory/tooltip/tooltip.tscn" id="7_l6cit"] [ext_resource type="Script" uid="uid://ca6rno5o2qeus" path="res://scenes/inventory/tutorial_text.gd" id="8_x4j3l"] [sub_resource type="LabelSettings" id="LabelSettings_bxceu"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.772549, 0.411765, 0.505882, 1) [sub_resource type="LabelSettings" id="LabelSettings_kl7fi"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.156863, 0.137255, 0.156863, 1) [sub_resource type="LabelSettings" id="LabelSettings_x4j3l"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.772549, 0.411765, 0.505882, 1) [sub_resource type="LabelSettings" id="LabelSettings_l6cit"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.329412, 0.360784, 0.494118, 1) [sub_resource type="LabelSettings" id="LabelSettings_efxst"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.156863, 0.137255, 0.156863, 1) [sub_resource type="LabelSettings" id="LabelSettings_v8e04"] font = ExtResource("4_tvok8") font_size = 8 font_color = Color(0.329412, 0.360784, 0.494118, 1) [sub_resource type="LabelSettings" id="LabelSettings_g1nyl"] font = ExtResource("7_kl7fi") font_size = 9 font_color = Color(0.156863, 0.137255, 0.156863, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_efxst"] bg_color = Color(0.156863, 0.137255, 0.156863, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.156863, 0.137255, 0.156863, 1) corner_radius_top_left = 2 corner_radius_top_right = 2 corner_radius_bottom_right = 2 corner_radius_bottom_left = 2 anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l6cit"] bg_color = Color(0.639216, 0.635294, 0.603922, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.156863, 0.137255, 0.156863, 1) corner_radius_top_left = 2 corner_radius_top_right = 2 corner_radius_bottom_right = 2 corner_radius_bottom_left = 2 anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g1nyl"] bg_color = Color(0.639216, 0.635294, 0.603922, 1) [sub_resource type="Theme" id="Theme_efxst"] default_font = ExtResource("7_kl7fi") Button/colors/font_color = Color(0.156863, 0.137255, 0.156863, 1) Button/colors/font_hover_color = Color(0.639216, 0.635294, 0.603922, 1) Button/colors/font_hover_pressed_color = Color(0.156863, 0.137255, 0.156863, 1) Button/colors/font_pressed_color = Color(0.156863, 0.137255, 0.156863, 1) Button/font_sizes/font_size = 8 Button/styles/hover = SubResource("StyleBoxFlat_efxst") Button/styles/normal = SubResource("StyleBoxFlat_l6cit") Button/styles/pressed = SubResource("StyleBoxFlat_g1nyl") [node name="Inventory" type="Control" node_paths=PackedStringArray("items_start")] layout_mode = 3 anchors_preset = 6 anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 grow_horizontal = 0 grow_vertical = 2 script = ExtResource("1_el5y6") bonus_scene = ExtResource("5_bxceu") item_scene = ExtResource("2_4axmw") items_start = NodePath("InventoryStart") [node name="WindowPane" type="Sprite2D" parent="."] z_index = -2 texture_repeat = 3 position = Vector2(-64, 0) texture = ExtResource("4_bxceu") region_rect = Rect2(0, 0, 134, 256) [node name="Lock" type="Sprite2D" parent="."] position = Vector2(-12, -8) texture = ExtResource("6_v8e04") hframes = 2 [node name="InventoryStart" type="Marker2D" parent="."] position = Vector2(-110, -111) [node name="Speed" type="Label" parent="."] layout_mode = 0 offset_left = -20.0 offset_top = -122.0 offset_bottom = -99.0 text = "=10" label_settings = SubResource("LabelSettings_bxceu") [node name="Tooltip" parent="Speed" instance=ExtResource("7_l6cit")] position = Vector2(8, 12) tooltip_text = "Speed" [node name="RemainingAmmunition" type="Label" parent="."] layout_mode = 0 offset_left = -105.0 offset_top = 26.0 offset_right = -85.0 offset_bottom = 49.0 text = "- 7" label_settings = SubResource("LabelSettings_kl7fi") [node name="Health" type="Label" parent="."] layout_mode = 0 offset_left = -105.0 offset_top = 36.0 offset_right = -85.0 offset_bottom = 59.0 text = "- 100" label_settings = SubResource("LabelSettings_x4j3l") [node name="Money" type="Label" parent="."] layout_mode = 0 offset_left = -105.0 offset_top = 48.0 offset_right = -85.0 offset_bottom = 71.0 text = "- 100" label_settings = SubResource("LabelSettings_l6cit") [node name="Score" type="Label" parent="."] layout_mode = 0 offset_left = -118.0 offset_top = 115.0 offset_right = 4.0 offset_bottom = 140.0 text = "SCORE - 0" label_settings = SubResource("LabelSettings_efxst") [node name="BulletSpeed" type="Label" parent="."] layout_mode = 0 offset_left = -20.0 offset_top = -96.0 offset_right = -8.0 offset_bottom = -87.0 text = "=10" label_settings = SubResource("LabelSettings_bxceu") [node name="Tooltip3" parent="BulletSpeed" instance=ExtResource("7_l6cit")] position = Vector2(8, 13) tooltip_text = "Bullet Speed" [node name="Ammunition" type="Label" parent="."] layout_mode = 0 offset_left = -20.0 offset_top = -70.0 offset_bottom = -47.0 text = "=10" label_settings = SubResource("LabelSettings_bxceu") [node name="Tooltip2" parent="Ammunition" instance=ExtResource("7_l6cit")] position = Vector2(8, 13) tooltip_text = "Magazine Size" [node name="Damage" type="Label" parent="."] layout_mode = 0 offset_left = -20.0 offset_top = -44.0 offset_bottom = -21.0 text = "=10" label_settings = SubResource("LabelSettings_bxceu") [node name="Tooltip3" parent="Damage" instance=ExtResource("7_l6cit")] position = Vector2(8, 13) tooltip_text = "Damage To Enemies" [node name="Size" type="Label" parent="."] layout_mode = 0 offset_left = -71.0 offset_top = -17.0 offset_right = -46.0 offset_bottom = 6.0 text = "=10" label_settings = SubResource("LabelSettings_v8e04") horizontal_alignment = 1 [node name="Tooltip7" parent="Size" instance=ExtResource("7_l6cit")] position = Vector2(11, 21) tooltip_text = "Size (Your hitbox is bigger)" [node name="TaxRate" type="Label" parent="."] layout_mode = 0 offset_left = -46.0 offset_top = -17.0 offset_right = -21.0 offset_bottom = 6.0 text = "=10" label_settings = SubResource("LabelSettings_v8e04") horizontal_alignment = 1 [node name="Tooltip5" parent="TaxRate" instance=ExtResource("7_l6cit")] position = Vector2(12, 21) tooltip_text = "Tax (Money Reduction From Enemies)" [node name="FiringDelay" type="Label" parent="."] layout_mode = 0 offset_left = -98.0 offset_top = -17.0 offset_right = -73.0 offset_bottom = 6.0 text = "=10" label_settings = SubResource("LabelSettings_v8e04") horizontal_alignment = 1 [node name="Tooltip6" parent="FiringDelay" instance=ExtResource("7_l6cit")] position = Vector2(12, 21) tooltip_text = "Delay Between Shots" [node name="IncomingDamage" type="Label" parent="."] layout_mode = 0 offset_left = -124.0 offset_top = -17.0 offset_right = -99.0 offset_bottom = 6.0 text = "=10" label_settings = SubResource("LabelSettings_v8e04") horizontal_alignment = 1 [node name="Tooltip4" parent="IncomingDamage" instance=ExtResource("7_l6cit")] position = Vector2(12, 21) tooltip_text = "Damage From Enemies" [node name="TUTORIAL" type="Label" parent="."] layout_mode = 0 offset_left = -47.0 offset_top = 33.0 offset_right = 25.0 offset_bottom = 141.0 text = "TUTORIAL ↓ ↓ ↓ ↓" label_settings = SubResource("LabelSettings_efxst") [node name="TutorialText" type="Label" parent="."] layout_mode = 0 offset_left = -127.0 offset_top = 56.0 offset_right = 3.0 offset_bottom = 113.0 label_settings = SubResource("LabelSettings_g1nyl") script = ExtResource("8_x4j3l") [node name="Next" type="Button" parent="TutorialText"] layout_mode = 0 offset_left = 99.0 offset_top = 58.0 offset_right = 125.0 offset_bottom = 69.0 focus_mode = 0 theme = SubResource("Theme_efxst") text = "Next" [node name="Previous" type="Button" parent="TutorialText"] layout_mode = 0 offset_left = 71.0 offset_top = 58.0 offset_right = 97.0 offset_bottom = 69.0 focus_mode = 0 theme = SubResource("Theme_efxst") text = "Prev" [connection signal="pressed" from="TutorialText/Next" to="TutorialText" method="_on_next_pressed"] [connection signal="pressed" from="TutorialText/Previous" to="TutorialText" method="_on_previous_pressed"]