[gd_scene load_steps=23 format=3 uid="uid://10u16dtnpupt"] [ext_resource type="Script" path="res://scripts/MultiParticles.cs" id="1_weson"] [ext_resource type="Texture2D" uid="uid://b8yqiftn6q2ij" path="res://addons/kenney_particle_pack/circle_05.png" id="2_qtlvw"] [sub_resource type="Curve" id="Curve_tpndr"] _data = [Vector2(0.782074, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_wtgks"] curve = SubResource("Curve_tpndr") [sub_resource type="Curve" id="Curve_7t07v"] min_value = -5.0 max_value = 5.0 _data = [Vector2(0, -5), 0.0, 0.0, 0, 0, Vector2(0.495606, -5), 0.0, 0.0, 0, 0, Vector2(1, 0.00593328), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_8froe"] curve = SubResource("Curve_7t07v") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_50j2f"] emission_shape = 2 emission_sphere_radius = 3.0 gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12) radial_accel_min = 0.2 radial_accel_max = 0.2 radial_accel_curve = SubResource("CurveTexture_8froe") color = Color(0, 0.564706, 1, 1) alpha_curve = SubResource("CurveTexture_wtgks") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_blklt"] transparency = 1 vertex_color_use_as_albedo = true albedo_texture = ExtResource("2_qtlvw") emission_enabled = true emission = Color(0, 0.741176, 1, 1) emission_energy_multiplier = 5.0 rim_enabled = true billboard_mode = 3 billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false [sub_resource type="QuadMesh" id="QuadMesh_lxuhl"] material = SubResource("StandardMaterial3D_blklt") size = Vector2(0.1, 0.1) [sub_resource type="Curve" id="Curve_0jmg7"] _data = [Vector2(0.251318, 1), 0.0, 0.0, 0, 0, Vector2(0.991213, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_gf3su"] curve = SubResource("Curve_0jmg7") [sub_resource type="Gradient" id="Gradient_vj4no"] offsets = PackedFloat32Array(0.448141, 0.636008) colors = PackedColorArray(0, 0.894118, 1, 1, 0, 0.564706, 1, 1) [sub_resource type="GradientTexture1D" id="GradientTexture1D_8k4ey"] gradient = SubResource("Gradient_vj4no") [sub_resource type="Curve" id="Curve_iutvr"] _data = [Vector2(0.490334, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CurveTexture" id="CurveTexture_ga1td"] curve = SubResource("Curve_iutvr") [sub_resource type="Curve" id="Curve_yuhne"] max_value = 5.0 _data = [Vector2(0, 0.169831), 0.0, 0.0, 0, 0, Vector2(0.625659, 0.729012), 0.0, 0.0, 0, 0, Vector2(1, 4.63364), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="CurveTexture" id="CurveTexture_nfm8j"] curve = SubResource("Curve_yuhne") [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_t7lly"] gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12) scale_curve = SubResource("CurveTexture_nfm8j") color_ramp = SubResource("GradientTexture1D_8k4ey") alpha_curve = SubResource("CurveTexture_gf3su") emission_curve = SubResource("CurveTexture_ga1td") [sub_resource type="Gradient" id="Gradient_30bhn"] offsets = PackedFloat32Array(0.506744, 0.689788) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_1pmsb"] gradient = SubResource("Gradient_30bhn") width = 256 height = 256 fill = 1 fill_from = Vector2(0.5, 0.5) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k5esa"] transparency = 1 blend_mode = 1 vertex_color_use_as_albedo = true albedo_texture = SubResource("GradientTexture2D_1pmsb") billboard_mode = 3 billboard_keep_scale = true particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false [sub_resource type="QuadMesh" id="QuadMesh_gvf03"] material = SubResource("StandardMaterial3D_k5esa") [node name="Implosion" type="Node3D" node_paths=PackedStringArray("Particles")] script = ExtResource("1_weson") Particles = [NodePath("Bits"), NodePath("Sphere")] [node name="Bits" type="GPUParticles3D" parent="."] amount = 64 lifetime = 4.0 explosiveness = 1.0 fixed_fps = 60 process_material = SubResource("ParticleProcessMaterial_50j2f") draw_pass_1 = SubResource("QuadMesh_lxuhl") [node name="Sphere" type="GPUParticles3D" parent="."] amount = 1 lifetime = 4.0 fixed_fps = 60 process_material = SubResource("ParticleProcessMaterial_t7lly") draw_pass_1 = SubResource("QuadMesh_gvf03")