[gd_scene load_steps=6 format=3 uid="uid://bbqgdjgil7nwx"]

[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/vfx/death.png" id="1_pi6vg"]
[ext_resource type="Script" uid="uid://8bsq7kvqky3d" path="res://scripts/spit_payload.gd" id="2_61mym"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://scenes/hitbox.tscn" id="3_pi6vg"]

[sub_resource type="Gradient" id="Gradient_bnpwn"]
offsets = PackedFloat32Array(0, 0.60958904, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 0.4833991, 1.8241555e-05, 0.3690953, 0.25882354)

[sub_resource type="Curve" id="Curve_bnpwn"]
_limits = [-1.0, 1.0, 0.0, 1.0]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2

[node name="SpitPayload" type="CPUParticles2D"]
emitting = false
amount = 128
texture = ExtResource("1_pi6vg")
lifetime = 0.3
one_shot = true
explosiveness = 0.95
emission_shape = 1
emission_sphere_radius = 17.16
direction = Vector2(0, 1)
spread = 180.0
gravity = Vector2(0, -400)
initial_velocity_max = 154.64
angular_velocity_min = -66.8
angular_velocity_max = 44.66
scale_amount_max = 2.0
color = Color(0, 0.61960787, 0.32156864, 0.8117647)
color_ramp = SubResource("Gradient_bnpwn")
hue_variation_min = -0.19
hue_variation_max = 0.16
hue_variation_curve = SubResource("Curve_bnpwn")
script = ExtResource("2_61mym")

[node name="Hitbox" parent="." instance=ExtResource("3_pi6vg")]
scale = Vector2(3.856148, 3.856148)

[connection signal="finished" from="." to="." method="_on_finished"]
