Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / bullet / BulletSmoke0002.tscn
  1. [gd_scene load_steps=8 format=3 uid="uid://y47kp0t5uqu0"]
  2.  
  3. [ext_resource type="SpriteFrames" uid="uid://dkqd4513sog3f" path="res://resource/spriteFrames/bullet/Collision0002.tres" id="1_0qscf"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_p27g6"]
  5. [ext_resource type="Texture2D" uid="uid://du0f3km5jhxlg" path="res://resource/sprite/common/Smoke4.png" id="4_d8v0n"]
  6.  
  7. [sub_resource type="CanvasItemMaterial" id="1"]
  8. particles_animation = true
  9. particles_anim_h_frames = 3
  10. particles_anim_v_frames = 1
  11. particles_anim_loop = false
  12.  
  13. [sub_resource type="Curve" id="Curve_r4o86"]
  14. _data = [Vector2(0.0107527, 1), 0.0, 0.0, 0, 0, Vector2(0.512545, 0.8), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
  15. point_count = 3
  16.  
  17. [sub_resource type="CurveTexture" id="CurveTexture_thj4e"]
  18. curve = SubResource("Curve_r4o86")
  19.  
  20. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_gpp81"]
  21. lifetime_randomness = 0.4
  22. particle_flag_disable_z = true
  23. angle_max = 360.0
  24. spread = 25.0
  25. initial_velocity_min = 10.0
  26. initial_velocity_max = 60.0
  27. gravity = Vector3(0, 90, 0)
  28. scale_min = 0.9
  29. scale_max = 1.5
  30. scale_curve = SubResource("CurveTexture_thj4e")
  31. color = Color(0.75, 0.75, 0.75, 0.588235)
  32. anim_offset_max = 1.0
  33.  
  34. [node name="BulletSmoke0002" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  35. modulate = Color(0.95, 0.70965, 0.6365, 0.588235)
  36. sprite_frames = ExtResource("1_0qscf")
  37. offset = Vector2(8, 0)
  38. script = ExtResource("2_p27g6")
  39. Particles2D = [NodePath("GpuParticles2D")]
  40.  
  41. [node name="GpuParticles2D" type="GPUParticles2D" parent="."]
  42. show_behind_parent = true
  43. material = SubResource("1")
  44. emitting = false
  45. process_material = SubResource("ParticleProcessMaterial_gpp81")
  46. texture = ExtResource("4_d8v0n")
  47. lifetime = 0.6
  48. one_shot = true
  49. explosiveness = 0.9
  50. randomness = 0.5
  51. fixed_fps = 20