particles.tscn 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://bullet.gd" type="Script" id=1]
  3. [sub_resource type="CircleShape2D" id=1]
  4. custom_solver_bias = 0.0
  5. radius = 10.0
  6. [sub_resource type="ParticlesMaterial" id=2]
  7. render_priority = 0
  8. trail_divisor = 1
  9. emission_shape = 2
  10. emission_box_extents = Vector3( 2, 2, 2 )
  11. flag_align_y = false
  12. flag_rotate_y = false
  13. flag_disable_z = true
  14. spread = 45.0
  15. flatness = 0.0
  16. gravity = Vector3( 0, 98, 0 )
  17. initial_velocity = 1.0
  18. initial_velocity_random = 0.0
  19. angular_velocity = 0.0
  20. angular_velocity_random = 0.0
  21. orbit_velocity = 0.0
  22. orbit_velocity_random = 0.0
  23. linear_accel = 0.0
  24. linear_accel_random = 0.0
  25. radial_accel = 0.0
  26. radial_accel_random = 0.0
  27. tangential_accel = 0.0
  28. tangential_accel_random = 0.0
  29. damping = 0.0
  30. damping_random = 0.0
  31. angle = 0.0
  32. angle_random = 0.0
  33. scale = 1.0
  34. scale_random = 0.0
  35. color = Color( 1, 1, 1, 1 )
  36. hue_variation = 0.0
  37. hue_variation_random = 0.0
  38. anim_speed = 0.0
  39. anim_speed_random = 0.0
  40. anim_offset = 0.0
  41. anim_offset_random = 0.0
  42. anim_loop = false
  43. _sections_unfolded = [ "Angle", "Damping", "Emission Shape", "Gravity", "Scale", "Tangential Accel", "Trail" ]
  44. [node name="particles" type="Area2D"]
  45. input_pickable = true
  46. gravity_vec = Vector2( 0, 1 )
  47. gravity = 98.0
  48. linear_damp = 0.1
  49. angular_damp = 1.0
  50. audio_bus_override = false
  51. audio_bus_name = "Master"
  52. script = ExtResource( 1 )
  53. [node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
  54. z_index = 3
  55. shape = SubResource( 1 )
  56. _sections_unfolded = [ "Z Index" ]
  57. [node name="Particles2D" type="Particles2D" parent="." index="1"]
  58. rotation = 1.5708
  59. z_index = 3
  60. emitting = true
  61. amount = 20
  62. lifetime = 1.0
  63. one_shot = false
  64. preprocess = 0.0
  65. speed_scale = 1.0
  66. explosiveness = 0.0
  67. randomness = 1.0
  68. fixed_fps = 0
  69. fract_delta = true
  70. visibility_rect = Rect2( -100, -100, 200, 200 )
  71. local_coords = true
  72. draw_order = 0
  73. process_material = SubResource( 2 )
  74. texture = null
  75. normal_map = null
  76. h_frames = 1
  77. v_frames = 1
  78. _sections_unfolded = [ "Drawing", "Material", "Process Material", "Textures", "Time", "Transform", "Visibility", "Z Index" ]