42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
|
[gd_scene load_steps=7 format=3 uid="uid://c7ee2fxogdnlx"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Particles/Scripts/OneshotParticles.gd" id="1_8sxdw"]
|
||
|
|
||
|
[sub_resource type="Curve" id="Curve_ij5tg"]
|
||
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.721154, 0), -1.52381, 0.0, 0, 0]
|
||
|
point_count = 2
|
||
|
|
||
|
[sub_resource type="CurveTexture" id="CurveTexture_lhu0n"]
|
||
|
curve = SubResource("Curve_ij5tg")
|
||
|
|
||
|
[sub_resource type="Curve" id="Curve_a1gx6"]
|
||
|
max_value = 3.0
|
||
|
_data = [Vector2(0, 3), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||
|
point_count = 2
|
||
|
|
||
|
[sub_resource type="CurveTexture" id="CurveTexture_210cn"]
|
||
|
curve = SubResource("Curve_a1gx6")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_75uqe"]
|
||
|
particle_flag_align_y = true
|
||
|
particle_flag_disable_z = true
|
||
|
inherit_velocity_ratio = 0.5
|
||
|
initial_velocity_min = 250.0
|
||
|
initial_velocity_max = 250.0
|
||
|
gravity = Vector3(0, 0, 0)
|
||
|
damping_min = 50.0
|
||
|
damping_max = 50.0
|
||
|
scale_min = 0.5
|
||
|
scale_curve = SubResource("CurveTexture_lhu0n")
|
||
|
scale_over_velocity_max = 1000.0
|
||
|
scale_over_velocity_curve = SubResource("CurveTexture_210cn")
|
||
|
|
||
|
[node name="FireParticles" type="GPUParticles2D"]
|
||
|
top_level = true
|
||
|
process_material = SubResource("ParticleProcessMaterial_75uqe")
|
||
|
lifetime = 0.75
|
||
|
explosiveness = 1.0
|
||
|
trail_enabled = true
|
||
|
trail_lifetime = 0.1
|
||
|
script = ExtResource("1_8sxdw")
|