[gd_scene format=3 uid="uid://dixc62oses4hl"]

[ext_resource type="Texture2D" uid="uid://chofj1gn6jmyo" path="res://assets/images/upgrades/dashMachine.png" id="1_efxjv"]
[ext_resource type="Script" uid="uid://b3rft2lmj60k0" path="res://assets/scripts/upgrade_ui.gd" id="1_v2t1u"]
[ext_resource type="AudioStream" uid="uid://dt154t2aall5d" path="res://assets/sounds/break.wav" id="3_64vnu"]

[sub_resource type="LabelSettings" id="LabelSettings_xyegg"]

[sub_resource type="Curve" id="Curve_xyegg"]
_data = [Vector2(0.5017794, 0.99047613), 0.0, 0.0, 0, 0, Vector2(1, 0.019047618), 0.0, 0.0, 0, 0]
point_count = 2

[node name="Control2" type="Control" unique_id=1424148917]
layout_mode = 3
anchors_preset = 0
offset_right = 48.0
offset_bottom = 48.0
script = ExtResource("1_v2t1u")

[node name="goldrect" type="ColorRect" parent="." unique_id=140383699]
visible = false
layout_mode = 0
offset_right = 48.0
offset_bottom = 48.0
color = Color(0.8, 0.6, 0, 1)

[node name="texture" type="TextureRect" parent="." unique_id=1844486601]
modulate = Color(1, 1, 1, 0)
layout_mode = 0
offset_right = 48.0
offset_bottom = 48.0
scale = Vector2(0.3, 0.3)
pivot_offset_ratio = Vector2(0.5, 0.5)
texture = ExtResource("1_efxjv")

[node name="progress" type="ColorRect" parent="." unique_id=1719328911]
layout_mode = 0
offset_left = 48.0
offset_right = 48.0
offset_bottom = 48.0
pivot_offset_ratio = Vector2(1, 0)
color = Color(0, 0, 0, 0.2509804)

[node name="Label" type="Label" parent="." unique_id=568341339]
layout_mode = 1
offset_top = 25.0
offset_right = 48.0
offset_bottom = 48.0
pivot_offset_ratio = Vector2(1, 0)
text = "x1"
label_settings = SubResource("LabelSettings_xyegg")
horizontal_alignment = 2

[node name="particles" type="CPUParticles2D" parent="." unique_id=1967275328]
position = Vector2(24, 24)
emitting = false
one_shot = true
explosiveness = 1.0
spread = 180.0
gravity = Vector2(0, 0)
initial_velocity_min = 300.0
initial_velocity_max = 500.0
linear_accel_min = -500.0
linear_accel_max = -300.0
scale_amount_min = 4.0
scale_amount_max = 8.0
scale_amount_curve = SubResource("Curve_xyegg")
color = Color(1, 1, 1, 0.5019608)

[node name="breaksfx" type="AudioStreamPlayer2D" parent="." unique_id=1024345853]
stream = ExtResource("3_64vnu")
volume_db = -10.0
