53 lines
2.1 KiB
Text
53 lines
2.1 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://uay5uev2tm4t"]
|
|
|
|
[ext_resource type="Script" uid="uid://bg70oi1wfufaj" path="res://blood.gd" id="1_6b75d"]
|
|
[ext_resource type="Texture2D" uid="uid://c1cx0ptinqijd" path="res://assets/ballGrey_07.png" id="1_44s4y"]
|
|
[ext_resource type="AudioStream" uid="uid://bjen71jhyhcbv" path="res://assets/sounds/blood/blood1.wav" id="3_mj5mf"]
|
|
[ext_resource type="AudioStream" uid="uid://dsqoamomhjp26" path="res://assets/sounds/blood/blood2.wav" id="4_j7y4i"]
|
|
[ext_resource type="AudioStream" uid="uid://bky06i4mmpc7v" path="res://assets/sounds/blood/blood3.wav" id="5_ywc62"]
|
|
[ext_resource type="AudioStream" uid="uid://43gt58yb681g" path="res://assets/sounds/blood/blood4.wav" id="6_ubb4u"]
|
|
|
|
[sub_resource type="Curve" id="Curve_6b75d"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.244318, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.0337079), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="Gradient" id="Gradient_7d1fo"]
|
|
colors = PackedColorArray(0.678431, 0, 0, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_rkvhr"]
|
|
random_pitch = 2.0
|
|
streams_count = 4
|
|
stream_0/stream = ExtResource("3_mj5mf")
|
|
stream_1/stream = ExtResource("4_j7y4i")
|
|
stream_2/stream = ExtResource("5_ywc62")
|
|
stream_3/stream = ExtResource("6_ubb4u")
|
|
|
|
[node name="Blood" type="Node2D"]
|
|
script = ExtResource("1_6b75d")
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
|
|
unique_name_in_owner = true
|
|
emitting = false
|
|
amount = 100
|
|
texture = ExtResource("1_44s4y")
|
|
lifetime = 0.79
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 1.0
|
|
lifetime_randomness = 1.0
|
|
direction = Vector2(0, 0)
|
|
spread = 180.0
|
|
initial_velocity_min = 40.4
|
|
initial_velocity_max = 545.45
|
|
scale_amount_min = 0.04
|
|
scale_amount_max = 0.08
|
|
scale_amount_curve = SubResource("Curve_6b75d")
|
|
color = Color(0.576471, 0, 0, 1)
|
|
color_ramp = SubResource("Gradient_7d1fo")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = SubResource("AudioStreamRandomizer_rkvhr")
|
|
volume_db = -80.0
|
|
autoplay = true
|
|
|
|
[connection signal="finished" from="CPUParticles2D" to="." method="_on_cpu_particles_2d_finished"]
|