Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / bullet / BulletSmoke0001.tscn
  1. [gd_scene load_steps=7 format=3 uid="uid://b8ogu2l8pa70y"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/common/Smoke.png" id="1"]
  4. [ext_resource type="Texture2D" uid="uid://bs1lan5uwxyfg" path="res://resource/curve/Curve1.tres" id="1_8pe88"]
  5. [ext_resource type="SpriteFrames" uid="uid://pwg2tx7dmcvp" path="res://resource/spriteFrames/bullet/Collision0001.tres" id="1_r62v8"]
  6. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_r547d"]
  7.  
  8. [sub_resource type="CanvasItemMaterial" id="1"]
  9. particles_animation = true
  10. particles_anim_h_frames = 3
  11. particles_anim_v_frames = 1
  12. particles_anim_loop = false
  13.  
  14. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_gpp81"]
  15. lifetime_randomness = 0.5
  16. particle_flag_disable_z = true
  17. angle_max = 360.0
  18. spread = 25.0
  19. initial_velocity_max = 90.0
  20. gravity = Vector3(0, 0, 0)
  21. scale_curve = ExtResource("1_8pe88")
  22. color = Color(0.75, 0.75, 0.75, 0.470588)
  23. anim_offset_max = 1.0
  24.  
  25. [node name="BulletSmoke0001" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  26. sprite_frames = ExtResource("1_r62v8")
  27. frame = 4
  28. frame_progress = 1.0
  29. offset = Vector2(8, 0)
  30. script = ExtResource("2_r547d")
  31. Particles2D = [NodePath("GpuParticles2D")]
  32.  
  33. [node name="GpuParticles2D" type="GPUParticles2D" parent="."]
  34. show_behind_parent = true
  35. material = SubResource("1")
  36. emitting = false
  37. process_material = SubResource("ParticleProcessMaterial_gpp81")
  38. texture = ExtResource("1")
  39. lifetime = 0.4
  40. one_shot = true
  41. explosiveness = 0.9
  42. fixed_fps = 20