119 lines
3.6 KiB
Plaintext
119 lines
3.6 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://dl4vcp04t8iyr"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cdoxs0s8xh1b3" path="res://particle/FadeOut.tres" id="1_dd0n2"]
|
|
[ext_resource type="Texture2D" uid="uid://c3wx3cgn8x62m" path="res://assets/particles/particles-single.png" id="1_hhudy"]
|
|
[ext_resource type="Script" path="res://item/soul/Soul.gd" id="1_mm7cb"]
|
|
[ext_resource type="Texture2D" uid="uid://cfkwtmj6tc3wa" path="res://item/soul/color_ramp.tres" id="3_ibw0j"]
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_uyeuh"]
|
|
lifetime_randomness = 0.15
|
|
spread = 180.0
|
|
initial_velocity_min = 0.1
|
|
initial_velocity_max = 1.0
|
|
gravity = Vector3(0, 0, 0)
|
|
tangential_accel_min = -3.0
|
|
tangential_accel_max = 3.0
|
|
scale_min = 0.1
|
|
scale_max = 0.5
|
|
color_ramp = ExtResource("3_ibw0j")
|
|
alpha_curve = ExtResource("1_dd0n2")
|
|
hue_variation_min = -0.03
|
|
hue_variation_max = 0.03
|
|
turbulence_noise_speed = Vector3(0.5, 0.5, 0.5)
|
|
sub_emitter_mode = 1
|
|
sub_emitter_frequency = 50.0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gl2xl"]
|
|
transparency = 1
|
|
blend_mode = 1
|
|
cull_mode = 2
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource("1_hhudy")
|
|
disable_receive_shadows = true
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_6nr8a"]
|
|
material = SubResource("StandardMaterial3D_gl2xl")
|
|
size = Vector2(0.1, 0.1)
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_l1npq"]
|
|
lifetime_randomness = 0.05
|
|
gravity = Vector3(0, 0, 0)
|
|
attractor_interaction_enabled = false
|
|
scale_min = 0.4
|
|
scale_max = 0.4
|
|
scale_curve = ExtResource("1_dd0n2")
|
|
color_ramp = ExtResource("3_ibw0j")
|
|
alpha_curve = ExtResource("1_dd0n2")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pk2ln"]
|
|
transparency = 1
|
|
blend_mode = 1
|
|
cull_mode = 2
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource("1_hhudy")
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_pthhm"]
|
|
material = SubResource("StandardMaterial3D_pk2ln")
|
|
size = Vector2(0.1, 0.1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ociyh"]
|
|
resource_local_to_scene = true
|
|
transparency = 1
|
|
blend_mode = 1
|
|
albedo_color = Color(0, 0.501961, 3, 1)
|
|
albedo_texture = ExtResource("1_hhudy")
|
|
billboard_mode = 1
|
|
billboard_keep_scale = true
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_rytrf"]
|
|
radius = 1.5
|
|
|
|
[node name="Soul" type="Node3D"]
|
|
script = ExtResource("1_mm7cb")
|
|
|
|
[node name="Particles" type="GPUParticles3D" parent="."]
|
|
unique_name_in_owner = true
|
|
cast_shadow = 0
|
|
amount = 50
|
|
sub_emitter = NodePath("../Trail")
|
|
lifetime = 0.5
|
|
transform_align = 1
|
|
process_material = SubResource("ParticleProcessMaterial_uyeuh")
|
|
draw_pass_1 = SubResource("QuadMesh_6nr8a")
|
|
|
|
[node name="Trail" type="GPUParticles3D" parent="."]
|
|
unique_name_in_owner = true
|
|
amount = 2500
|
|
lifetime = 0.5
|
|
transform_align = 1
|
|
process_material = SubResource("ParticleProcessMaterial_l1npq")
|
|
draw_pass_1 = SubResource("QuadMesh_pthhm")
|
|
|
|
[node name="Attractor" type="GPUParticlesAttractorSphere3D" parent="."]
|
|
unique_name_in_owner = true
|
|
strength = 2.0
|
|
radius = 0.5
|
|
|
|
[node name="Light" type="OmniLight3D" parent="."]
|
|
unique_name_in_owner = true
|
|
omni_range = 0.5
|
|
|
|
[node name="Sprite" type="Sprite3D" parent="."]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
|
|
material_override = SubResource("StandardMaterial3D_ociyh")
|
|
billboard = 1
|
|
double_sided = false
|
|
texture = ExtResource("1_hhudy")
|
|
|
|
[node name="Area" type="Area3D" parent="."]
|
|
unique_name_in_owner = true
|
|
collision_layer = 64
|
|
collision_mask = 512
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area"]
|
|
shape = SubResource("SphereShape3D_rytrf")
|
|
|
|
[connection signal="body_entered" from="Area" to="." method="on_body_entered"]
|