smoke.tscn 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [gd_scene load_steps=7 format=3 uid="uid://doag02a5hy01v"]
  2. [ext_resource type="Texture2D" uid="uid://dfjwcx4506cxo" path="res://effect/trail/trail_particle.png" id="1_u5kl5"]
  3. [sub_resource type="Gradient" id="Gradient_b352v"]
  4. colors = PackedColorArray(1, 1, 1, 1, 0.423529, 0.423529, 0.423529, 0)
  5. [sub_resource type="GradientTexture1D" id="GradientTexture1D_55fys"]
  6. gradient = SubResource("Gradient_b352v")
  7. [sub_resource type="Curve" id="Curve_b7yeu"]
  8. max_value = 10.0
  9. _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 10), 0.0, 0.0, 0, 0]
  10. point_count = 2
  11. [sub_resource type="CurveTexture" id="CurveTexture_hnf38"]
  12. curve = SubResource("Curve_b7yeu")
  13. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_wxrhy"]
  14. emission_shape = 1
  15. emission_sphere_radius = 4.0
  16. particle_flag_disable_z = true
  17. direction = Vector3(0, 1, 0)
  18. spread = 10.0
  19. gravity = Vector3(0, 0, 0)
  20. initial_velocity_min = 2800.0
  21. initial_velocity_max = 3000.0
  22. orbit_velocity_min = 0.0
  23. orbit_velocity_max = 0.0
  24. damping_min = 10000.0
  25. damping_max = 14000.0
  26. scale_max = 2.0
  27. scale_curve = SubResource("CurveTexture_hnf38")
  28. color = Color(0.521569, 0.898039, 1, 1)
  29. color_ramp = SubResource("GradientTexture1D_55fys")
  30. [node name="Smoke" type="GPUParticles2D"]
  31. z_index = -1
  32. position = Vector2(0, -60)
  33. emitting = false
  34. process_material = SubResource("ParticleProcessMaterial_wxrhy")
  35. texture = ExtResource("1_u5kl5")
  36. lifetime = 0.5