47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://cuk6upumkoafl"]
|
|
|
|
[ext_resource type="Script" path="res://Particles/Scripts/OneshotParticles.gd" id="1_001fc"]
|
|
|
|
[sub_resource type="Curve" id="Curve_nt6ns"]
|
|
min_value = -2.0
|
|
max_value = 2.0
|
|
_data = [Vector2(0, 0.0219781), 0.0, 4.98626, 0, 0, Vector2(1, 0.989011), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_82f2f"]
|
|
curve = SubResource("Curve_nt6ns")
|
|
|
|
[sub_resource type="Curve" id="Curve_d0nr1"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_p73qn"]
|
|
curve = SubResource("Curve_d0nr1")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0xiht"]
|
|
particle_flag_align_y = true
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(0, 0, 0)
|
|
spread = 180.0
|
|
initial_velocity_min = 150.0
|
|
initial_velocity_max = 150.0
|
|
orbit_velocity_min = -0.5
|
|
orbit_velocity_max = 0.5
|
|
orbit_velocity_curve = SubResource("CurveTexture_82f2f")
|
|
gravity = Vector3(0, 0, 0)
|
|
damping_min = 50.0
|
|
damping_max = 50.0
|
|
scale_min = 3.0
|
|
scale_max = 3.0
|
|
scale_curve = SubResource("CurveTexture_p73qn")
|
|
|
|
[node name="SpawnParticles" type="GPUParticles2D"]
|
|
modulate = Color(0, 1, 1, 1)
|
|
amount = 20
|
|
process_material = SubResource("ParticleProcessMaterial_0xiht")
|
|
lifetime = 2.0
|
|
speed_scale = 1.5
|
|
explosiveness = 1.0
|
|
fixed_fps = 0
|
|
interpolate = false
|
|
script = ExtResource("1_001fc")
|