[gd_scene load_steps=10 format=3 uid="uid://cplhsipk6vhem"]

[ext_resource type="Script" path="res://game/BeepCube/BeepCube_SliceParticles.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://cg6kwny2mi3wq" path="res://game/data/gradient.png" id="2_87b8h"]

[sub_resource type="Gradient" id="Gradient_g4n6q"]
offsets = PackedFloat32Array(0.638158, 1)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_h0jfa"]
gradient = SubResource("Gradient_g4n6q")

[sub_resource type="Curve" id="Curve_q01b8"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.65184, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3

[sub_resource type="CurveTexture" id="CurveTexture_pof8l"]
curve = SubResource("Curve_q01b8")

[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m5x2o"]
lifetime_randomness = 0.3
direction = Vector3(0, -1, 0)
spread = 82.64
flatness = 0.18
initial_velocity_min = 2.0
initial_velocity_max = 3.0
gravity = Vector3(0, 0, 0)
scale_min = 0.0
scale_curve = SubResource("CurveTexture_pof8l")
color_ramp = SubResource("GradientTexture1D_h0jfa")
turbulence_enabled = true
turbulence_noise_strength = 20.0
turbulence_noise_scale = 1.57

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_813t4"]
blend_mode = 1
shading_mode = 0
albedo_texture = ExtResource("2_87b8h")

[sub_resource type="QuadMesh" id="QuadMesh_06q23"]
material = SubResource("StandardMaterial3D_813t4")
size = Vector2(0.03, 0.135)

[node name="Node3D" type="Node3D"]
script = ExtResource("1")

[node name="Particles3D" type="GPUParticles3D" parent="."]
layers = 3
emitting = false
amount = 60
lifetime = 0.8
one_shot = true
explosiveness = 1.0
randomness = 1.0
visibility_aabb = AABB(-1.01498, -1.44944, -1.5338, 2.02995, 2.89889, 3.06759)
transform_align = 3
process_material = SubResource("ParticleProcessMaterial_m5x2o")
draw_pass_1 = SubResource("QuadMesh_06q23")
