godot-visual-effects/particles/shockwave.tscn
2023-12-14 22:10:23 +01:00

74 lines
2.5 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://r8y6qoevceyk"]
[ext_resource type="Script" path="res://scripts/MultiParticles.cs" id="1_yvu1a"]
[ext_resource type="Texture2D" uid="uid://bd2arrqo7xw7c" path="res://addons/kenney_particle_pack/circle_01.png" id="2_s6tl6"]
[sub_resource type="Curve" id="Curve_q71c2"]
_data = [Vector2(0, 0.487516), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_5xkdf"]
curve = SubResource("Curve_q71c2")
[sub_resource type="Curve" id="Curve_0s8ld"]
max_value = 3.0
_data = [Vector2(0, 0.591327), 0.0, 0.0, 0, 0, Vector2(1, 3), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_406ad"]
curve = SubResource("Curve_0s8ld")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_aak2r"]
gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12)
scale_curve = SubResource("CurveTexture_406ad")
alpha_curve = SubResource("CurveTexture_5xkdf")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y7i1b"]
transparency = 1
vertex_color_use_as_albedo = true
albedo_texture = ExtResource("2_s6tl6")
rim_enabled = true
[sub_resource type="PlaneMesh" id="PlaneMesh_iktve"]
material = SubResource("StandardMaterial3D_y7i1b")
[sub_resource type="Curve" id="Curve_jaxyf"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.381371, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.0937408), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_qx1ma"]
curve = SubResource("Curve_jaxyf")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_dbh2b"]
gravity = Vector3(2.08165e-12, 2.08165e-12, 2.08165e-12)
scale_curve = SubResource("CurveTexture_qx1ma")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kcy1j"]
transparency = 1
blend_mode = 1
vertex_color_use_as_albedo = true
rim_enabled = true
[sub_resource type="SphereMesh" id="SphereMesh_7m7gc"]
material = SubResource("StandardMaterial3D_kcy1j")
radius = 0.4
height = 0.8
[node name="Shockwave" type="Node3D" node_paths=PackedStringArray("Particles")]
script = ExtResource("1_yvu1a")
Particles = [NodePath("Sphere"), NodePath("Waves")]
[node name="Waves" type="GPUParticles3D" parent="."]
amount = 3
lifetime = 3.0
explosiveness = 0.8
process_material = SubResource("ParticleProcessMaterial_aak2r")
draw_pass_1 = SubResource("PlaneMesh_iktve")
[node name="Sphere" type="GPUParticles3D" parent="."]
amount = 1
lifetime = 3.0
fixed_fps = 60
process_material = SubResource("ParticleProcessMaterial_dbh2b")
draw_pass_1 = SubResource("SphereMesh_7m7gc")