Files
godot-host-test/Game/Target/Explosion/explosion_gpu_particles_2d.tscn
T
2026-07-21 21:53:18 +02:00

45 lines
1.4 KiB
Plaintext

[gd_scene format=3 uid="uid://cd8w4ydeugrxn"]
[ext_resource type="Texture2D" uid="uid://ddv3d3cguh5hd" path="res://Game/Target/Explosion/scorches.png" id="1_rjvc0"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_bfsaf"]
particles_animation = true
particles_anim_h_frames = 3
particles_anim_v_frames = 1
particles_anim_loop = false
[sub_resource type="Curve" id="Curve_ytfwl"]
_data = [Vector2(0.00554017, 0.021126747), 0.0, 0.0, 0, 0, Vector2(0.14681442, 0.99295783), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_jyg1o"]
curve = SubResource("Curve_ytfwl")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_u8d0v"]
lifetime_randomness = 0.1
particle_flag_disable_z = true
emission_shape = 1
emission_sphere_radius = 33.35
spread = 180.0
initial_velocity_min = 47.62
initial_velocity_max = 47.62
gravity = Vector3(0, 0, 0)
damping_min = 97.494
damping_max = 97.494
color = Color(1, 0.11372549, 0.22745098, 1)
alpha_curve = SubResource("CurveTexture_jyg1o")
anim_speed_min = 10.0
anim_speed_max = 10.0
[node name="ExplosionGPUParticles2D" type="GPUParticles2D" unique_id=1991976710]
z_index = 1
z_as_relative = false
material = SubResource("CanvasItemMaterial_bfsaf")
emitting = false
amount = 32
texture = ExtResource("1_rjvc0")
lifetime = 0.3
one_shot = true
visibility_rect = Rect2(-200, -75, 400, 150)
process_material = SubResource("ParticleProcessMaterial_u8d0v")