49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
|
|
[gd_scene load_steps=7 format=3 uid="uid://bsvwpuwvh3hga"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://ck38qwl4qytnt" path="res://scripts/particle_group.gd" id="1_uommb"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://5iimabvyld40" path="res://textures/particles/basic.png" id="2_02mh3"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://bpe67g6185n5v" path="res://textures/particles/fire.png" id="3_nnsi5"]
|
||
|
|
|
||
|
|
[sub_resource type="Curve" id="Curve_ipns3"]
|
||
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.7512195, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||
|
|
point_count = 3
|
||
|
|
|
||
|
|
[sub_resource type="CurveTexture" id="CurveTexture_8qclf"]
|
||
|
|
curve = SubResource("Curve_ipns3")
|
||
|
|
|
||
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_w8i8w"]
|
||
|
|
particle_flag_disable_z = true
|
||
|
|
angle_min = -720.0
|
||
|
|
angle_max = 720.0
|
||
|
|
spread = 180.0
|
||
|
|
initial_velocity_min = 30.3
|
||
|
|
initial_velocity_max = 260.81
|
||
|
|
gravity = Vector3(0, 0, 0)
|
||
|
|
damping_min = 2.0
|
||
|
|
damping_max = 14.000001
|
||
|
|
scale_min = 0.099999994
|
||
|
|
scale_max = 0.25
|
||
|
|
alpha_curve = SubResource("CurveTexture_8qclf")
|
||
|
|
collision_use_scale = true
|
||
|
|
|
||
|
|
[node name="Explosion" type="Node2D"]
|
||
|
|
script = ExtResource("1_uommb")
|
||
|
|
|
||
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
||
|
|
emitting = false
|
||
|
|
amount = 24
|
||
|
|
texture = ExtResource("2_02mh3")
|
||
|
|
lifetime = 10.0
|
||
|
|
one_shot = true
|
||
|
|
explosiveness = 1.0
|
||
|
|
process_material = SubResource("ParticleProcessMaterial_w8i8w")
|
||
|
|
|
||
|
|
[node name="GPUParticles2D2" type="GPUParticles2D" parent="."]
|
||
|
|
emitting = false
|
||
|
|
amount = 24
|
||
|
|
texture = ExtResource("3_nnsi5")
|
||
|
|
lifetime = 10.0
|
||
|
|
one_shot = true
|
||
|
|
explosiveness = 1.0
|
||
|
|
process_material = SubResource("ParticleProcessMaterial_w8i8w")
|