netmasked/scenes/enemy_explosion.tscn

53 lines
1.7 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://c8l24d01bm2sg"]
[ext_resource type="Texture2D" uid="uid://b103rhhth5yu3" path="res://assets/particles/death.png" id="1_bpht7"]
[ext_resource type="Script" uid="uid://b6f7w4uftych8" path="res://scripts/enemy_explosion.gd" id="2_bpht7"]
[sub_resource type="Curve" id="Curve_qx6bo"]
_data = [Vector2(0.03787878, 1), 0.0, 0.0, 0, 0, Vector2(0.82575756, 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_bpht7"]
curve = SubResource("Curve_qx6bo")
[sub_resource type="Curve" id="Curve_bpht7"]
_limits = [0.0, 100.0, 0.0, 1.0]
_data = [Vector2(0, 51.685394), 0.0, 0.0, 0, 0, Vector2(1, 75.2809), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_qgwqa"]
curve = SubResource("Curve_bpht7")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_i2p71"]
particle_flag_disable_z = true
emission_shape = 1
emission_sphere_radius = 1.0
angle_min = -720.0
angle_max = 720.0
spread = 180.0
initial_velocity_min = 116.46999
initial_velocity_max = 253.59
gravity = Vector3(0, 0, 0)
damping_min = 7.3650002
damping_max = 30.000002
damping_curve = SubResource("CurveTexture_qgwqa")
scale_max = 1.1999999
color = Color(0.105882354, 0, 0.8117647, 1)
alpha_curve = SubResource("CurveTexture_bpht7")
[node name="EnemyExplosion" type="GPUParticles2D"]
modulate = Color(1.3945211, 1.3945211, 1.3945211, 1)
z_index = -1
emitting = false
amount = 32
texture = ExtResource("1_bpht7")
lifetime = 7.0
one_shot = true
explosiveness = 1.0
randomness = 0.68
fixed_fps = 0
draw_order = 0
process_material = SubResource("ParticleProcessMaterial_i2p71")
script = ExtResource("2_bpht7")
[connection signal="finished" from="." to="." method="_on_finished"]