2024-02-16 21:59:23 +00:00
|
|
|
[gd_scene load_steps=14 format=3 uid="uid://dl4vcp04t8iyr"]
|
2024-02-11 13:46:58 +00:00
|
|
|
|
2024-02-12 08:53:15 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cdoxs0s8xh1b3" path="res://particle/FadeOut.tres" id="1_dd0n2"]
|
2024-02-11 13:46:58 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://c3wx3cgn8x62m" path="res://assets/particles/particles-single.png" id="1_hhudy"]
|
2024-02-12 08:53:15 +00:00
|
|
|
[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"]
|
2024-02-16 21:59:23 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://l6d76tn8ys5n" path="res://assets/audio/effects/Games-Video-Event-Collect-Item.wav" id="5_cxtbb"]
|
2024-02-11 13:46:58 +00:00
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_uyeuh"]
|
2024-02-12 08:53:15 +00:00
|
|
|
lifetime_randomness = 0.15
|
|
|
|
spread = 180.0
|
|
|
|
initial_velocity_min = 0.1
|
|
|
|
initial_velocity_max = 1.0
|
2024-02-11 13:46:58 +00:00
|
|
|
gravity = Vector3(0, 0, 0)
|
2024-02-12 08:53:15 +00:00
|
|
|
tangential_accel_min = -3.0
|
|
|
|
tangential_accel_max = 3.0
|
2024-02-11 13:46:58 +00:00
|
|
|
scale_min = 0.1
|
2024-02-12 08:53:15 +00:00
|
|
|
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
|
2024-02-12 17:44:54 +00:00
|
|
|
sub_emitter_frequency = 100.0
|
2024-02-11 13:46:58 +00:00
|
|
|
|
|
|
|
[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)
|
|
|
|
|
2024-02-12 08:53:15 +00:00
|
|
|
[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"]
|
2024-02-13 10:17:45 +00:00
|
|
|
radius = 1.0
|
2024-02-12 08:53:15 +00:00
|
|
|
|
2024-02-11 13:46:58 +00:00
|
|
|
[node name="Soul" type="Node3D"]
|
2024-02-13 10:17:45 +00:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
2024-02-12 08:53:15 +00:00
|
|
|
script = ExtResource("1_mm7cb")
|
2024-02-11 13:46:58 +00:00
|
|
|
|
2024-02-12 08:53:15 +00:00
|
|
|
[node name="Particles" type="GPUParticles3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2024-02-14 12:52:59 +00:00
|
|
|
layers = 64
|
2024-02-11 13:46:58 +00:00
|
|
|
cast_shadow = 0
|
2024-02-12 08:53:15 +00:00
|
|
|
amount = 50
|
|
|
|
sub_emitter = NodePath("../Trail")
|
2024-02-11 13:46:58 +00:00
|
|
|
lifetime = 0.5
|
2024-02-13 10:17:45 +00:00
|
|
|
visibility_aabb = AABB(-1, -0.5, -1, 2, 2, 2)
|
2024-02-11 13:46:58 +00:00
|
|
|
transform_align = 1
|
|
|
|
process_material = SubResource("ParticleProcessMaterial_uyeuh")
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_6nr8a")
|
2024-02-12 08:53:15 +00:00
|
|
|
|
|
|
|
[node name="Trail" type="GPUParticles3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2024-02-14 12:52:59 +00:00
|
|
|
layers = 64
|
2024-02-12 17:44:54 +00:00
|
|
|
amount = 5000
|
2024-02-12 08:53:15 +00:00
|
|
|
lifetime = 0.5
|
2024-02-13 10:17:45 +00:00
|
|
|
visibility_aabb = AABB(-1, -0.5, -1, 2, 2, 2)
|
2024-02-12 08:53:15 +00:00
|
|
|
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
|
2024-02-14 12:52:59 +00:00
|
|
|
layers = 64
|
2024-02-12 08:53:15 +00:00
|
|
|
strength = 2.0
|
|
|
|
radius = 0.5
|
|
|
|
|
|
|
|
[node name="Light" type="OmniLight3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2024-02-14 12:52:59 +00:00
|
|
|
layers = 64
|
2024-02-12 08:53:15 +00:00
|
|
|
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)
|
2024-02-14 12:52:59 +00:00
|
|
|
layers = 64
|
2024-02-12 08:53:15 +00:00
|
|
|
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
|
2024-02-12 15:58:17 +00:00
|
|
|
collision_layer = 64
|
|
|
|
collision_mask = 512
|
2024-02-12 08:53:15 +00:00
|
|
|
monitorable = false
|
|
|
|
|
2024-02-13 10:17:45 +00:00
|
|
|
[node name="SphereShape" type="CollisionShape3D" parent="Area"]
|
2024-02-12 08:53:15 +00:00
|
|
|
shape = SubResource("SphereShape3D_rytrf")
|
|
|
|
|
2024-02-16 21:59:23 +00:00
|
|
|
[node name="Sound" type="AudioStreamPlayer3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
stream = ExtResource("5_cxtbb")
|
|
|
|
max_distance = 20.0
|
|
|
|
bus = &"Effects"
|
|
|
|
|
2024-02-12 08:53:15 +00:00
|
|
|
[connection signal="body_entered" from="Area" to="." method="on_body_entered"]
|