Advertisement
Stealthix

Example Particle

Apr 17th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. [gd_scene load_steps=8 format=2]
  2.  
  3. [ext_resource path="res://round.png" type="Texture" id=1]
  4.  
  5. [sub_resource type="CanvasItemMaterial" id=1]
  6.  
  7. [sub_resource type="Gradient" id=2]
  8. offsets = PoolRealArray( 0, 0.523077, 1 )
  9. colors = PoolColorArray( 1, 1, 1, 1, 1, 0.793945, 0.175781, 1, 0.742188, 0.0579834, 0.0579834, 1 )
  10.  
  11. [sub_resource type="GradientTexture" id=3]
  12. gradient = SubResource( 2 )
  13.  
  14. [sub_resource type="Curve" id=4]
  15. _data = [ Vector2( 0, 0.0677118 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
  16.  
  17. [sub_resource type="CurveTexture" id=5]
  18. curve = SubResource( 4 )
  19.  
  20. [sub_resource type="ParticlesMaterial" id=6]
  21. flag_disable_z = true
  22. spread = 180.0
  23. gravity = Vector3( 0, 0, 0 )
  24. initial_velocity = 4.0
  25. angular_velocity = 5.82818e-010
  26. orbit_velocity = 0.0
  27. orbit_velocity_random = 0.0
  28. scale_random = 0.04
  29. scale_curve = SubResource( 5 )
  30. color_ramp = SubResource( 3 )
  31.  
  32. [node name="Particles2D" type="Particles2D"]
  33. material = SubResource( 1 )
  34. position = Vector2( -0.174824, -0.0553246 )
  35. amount = 50
  36. lifetime = 0.7
  37. local_coords = false
  38. draw_order = 1
  39. process_material = SubResource( 6 )
  40. texture = ExtResource( 1 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement