thrust_effect.tscn 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [gd_scene load_steps=6 format=3 uid="uid://cm4nfeaf4e2rl"]
  2. [ext_resource type="Texture2D" uid="uid://b71okcm85d6iu" path="res://effect/thrust/thrust_line.png" id="1_0466v"]
  3. [ext_resource type="Script" path="res://effect/thrust/thrust_effect.gd" id="2_lphc2"]
  4. [sub_resource type="Curve" id="Curve_adm55"]
  5. max_value = 2.0
  6. _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -1.93548, 0.0, 0, 0]
  7. point_count = 2
  8. [sub_resource type="CurveTexture" id="CurveTexture_41ehx"]
  9. curve = SubResource("Curve_adm55")
  10. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ybpux"]
  11. lifetime_randomness = 0.14
  12. particle_flag_align_y = true
  13. particle_flag_disable_z = true
  14. direction = Vector3(0, 1, 0)
  15. spread = 0.0
  16. gravity = Vector3(0, 0, 0)
  17. initial_velocity_min = 0.1
  18. initial_velocity_max = 0.1
  19. orbit_velocity_min = 0.0
  20. orbit_velocity_max = 0.0
  21. angle_min = -4.0
  22. angle_max = 4.0
  23. scale_min = 1.5
  24. scale_max = 2.0
  25. scale_curve = SubResource("CurveTexture_41ehx")
  26. [node name="ThrustEffect" type="GPUParticles2D"]
  27. position = Vector2(0, 348)
  28. amount = 4
  29. process_material = SubResource("ParticleProcessMaterial_ybpux")
  30. texture = ExtResource("1_0466v")
  31. local_coords = true
  32. script = ExtResource("2_lphc2")