trenches/godot/particles/hit_blood.tscn

61 lines
1.9 KiB
Plaintext
Raw Normal View History

2025-01-15 16:02:01 +00:00
[gd_scene load_steps=9 format=3 uid="uid://bilpy7hvr241x"]
[ext_resource type="Material" uid="uid://b0tfy08j1ns7l" path="res://particles/materials/blood.tres" id="1_bxg6i"]
[sub_resource type="GDScript" id="GDScript_c6gb0"]
script/source = "extends Node3D
func _ready():
$GPUParticles3D.emitting = true
"
[sub_resource type="Curve" id="Curve_3c0ta"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -2.87185, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_jnejt"]
curve = SubResource("Curve_3c0ta")
[sub_resource type="Curve" id="Curve_g7xxc"]
_data = [Vector2(0, 0.358491), 0.0, 0.115259, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_4xk1k"]
curve = SubResource("Curve_g7xxc")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3tk35"]
direction = Vector3(0, 1, 0)
spread = 9.948
initial_velocity_min = 4.0
initial_velocity_max = 5.0
gravity = Vector3(0, -6, 0)
scale_curve = SubResource("CurveTexture_4xk1k")
alpha_curve = SubResource("CurveTexture_jnejt")
[sub_resource type="QuadMesh" id="QuadMesh_ycnbb"]
material = ExtResource("1_bxg6i")
size = Vector2(0.7, 0.7)
[node name="Node3D" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
script = SubResource("GDScript_c6gb0")
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.901349, -0.433093, 0, 0.433093, 0.901349, 0, -0.743526, -0.384688)
emitting = false
amount = 4
lifetime = 0.2
one_shot = true
explosiveness = 0.95
visibility_aabb = AABB(-0.755479, -0.7, -0.887261, 1.55896, 2.27885, 1.61314)
draw_order = 2
trail_lifetime = 0.1
process_material = SubResource("ParticleProcessMaterial_3tk35")
draw_pass_1 = SubResource("QuadMesh_ycnbb")
[node name="Timer" type="Timer" parent="."]
one_shot = true
autostart = true
[connection signal="timeout" from="Timer" to="." method="queue_free"]