Trail.tscn 756 B

12345678910111213141516171819202122232425262728293031
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://effect/particle/trail/trail_particle.png" type="Texture" id=1]
  3. [sub_resource type="Curve" id=1]
  4. _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.290909 ), 0.0, 0.0, 0, 0 ]
  5. [sub_resource type="CurveTexture" id=2]
  6. curve = SubResource( 1 )
  7. [sub_resource type="ParticlesMaterial" id=3]
  8. flag_disable_z = true
  9. spread = 0.0
  10. gravity = Vector3( 0, 0, 0 )
  11. angular_velocity = 45.0
  12. angular_velocity_random = 1.0
  13. orbit_velocity = 0.0
  14. orbit_velocity_random = 0.0
  15. angle = 180.0
  16. angle_random = 1.0
  17. scale = 0.5
  18. scale_random = 0.5
  19. scale_curve = SubResource( 2 )
  20. [node name="Trail" type="Particles2D"]
  21. lifetime = 0.1
  22. local_coords = false
  23. process_material = SubResource( 3 )
  24. texture = ExtResource( 1 )