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

[ext_resource type="Script" uid="uid://crxch6o5ottg7" path="res://core/fireworks.gd" id="1_cjxyo"]

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_dp1bx"]
direction = Vector3(0, 1, 0)
spread = 0.0
initial_velocity_min = 13.0
initial_velocity_max = 14.0
gravity = Vector3(0, 0, 0)
sub_emitter_mode = 2
sub_emitter_amount_at_end = 1

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8o1ow"]
blend_mode = 1
shading_mode = 0
albedo_color = Color(1, 0.8901961, 0.24313726, 1)
billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false

[sub_resource type="QuadMesh" id="QuadMesh_p8l00"]
material = SubResource("StandardMaterial3D_8o1ow")
size = Vector2(0.2, 0.2)

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_kbf61"]
direction = Vector3(0, 1, 0)
spread = 180.0
initial_velocity_min = 10.0
initial_velocity_max = 10.0
gravity = Vector3(0, 0, 0)
damping_min = 6.0000005
damping_max = 6.0000005
sub_emitter_mode = 1
sub_emitter_frequency = 30.0

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_is2bb"]
blend_mode = 1
shading_mode = 0
billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false

[sub_resource type="QuadMesh" id="QuadMesh_f60hc"]
material = SubResource("StandardMaterial3D_is2bb")
size = Vector2(0.2, 0.2)

[sub_resource type="Gradient" id="Gradient_cjxyo"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_dp1bx"]
gradient = SubResource("Gradient_cjxyo")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_tt4r5"]
gravity = Vector3(0, -2, 0)
scale_min = 0.5
scale_max = 0.5
color_ramp = SubResource("GradientTexture1D_dp1bx")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xt2tl"]
blend_mode = 1
shading_mode = 0
albedo_color = Color(0.99999994, 0.89069206, 0.2446233, 1)
billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false

[sub_resource type="QuadMesh" id="QuadMesh_0p1ln"]
material = SubResource("StandardMaterial3D_xt2tl")
size = Vector2(0.05, 0.05)

[node name="FuocoD\'artificioRoot" type="Node3D" unique_id=669752765]
script = ExtResource("1_cjxyo")

[node name="1_StartRocket" type="GPUParticles3D" parent="." unique_id=1569398174]
emitting = false
amount = 15
sub_emitter = NodePath("../2_MainExplosion")
lifetime = 0.5
one_shot = true
explosiveness = 1.0
trail_enabled = true
process_material = SubResource("ParticleProcessMaterial_dp1bx")
draw_pass_1 = SubResource("QuadMesh_p8l00")

[node name="2_MainExplosion" type="GPUParticles3D" parent="." unique_id=863445356]
emitting = false
amount = 150
sub_emitter = NodePath("../3_FallingTrails")
lifetime = 1.5
one_shot = true
explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_kbf61")
draw_pass_1 = SubResource("QuadMesh_f60hc")

[node name="3_FallingTrails" type="GPUParticles3D" parent="." unique_id=1969872503]
emitting = false
amount = 500
lifetime = 0.5
process_material = SubResource("ParticleProcessMaterial_tt4r5")
draw_pass_1 = SubResource("QuadMesh_0p1ln")
