Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / ShotFire0003.tscn
@小李xl 小李xl on 29 Jan 2024 1 KB 制作0010武器完成
  1. [gd_scene load_steps=7 format=3 uid="uid://dbas3vph0i2ro"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/effects/AutoDestroyParticles.cs" id="1_pdyqx"]
  4. [ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/common/Smoke.png" id="1_r2unj"]
  5.  
  6. [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_4wcis"]
  7. particles_animation = true
  8. particles_anim_h_frames = 3
  9. particles_anim_v_frames = 1
  10. particles_anim_loop = false
  11.  
  12. [sub_resource type="Curve" id="Curve_86ye5"]
  13. _data = [Vector2(0.0215054, 1), 0.0, 0.0, 0, 0, Vector2(0.512545, 0.882353), 0.0, 0.0, 0, 0, Vector2(1, 0.152941), 0.0, 0.0, 0, 0]
  14. point_count = 3
  15.  
  16. [sub_resource type="CurveTexture" id="CurveTexture_j77i6"]
  17. curve = SubResource("Curve_86ye5")
  18.  
  19. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8n28q"]
  20. lifetime_randomness = 0.3
  21. particle_flag_disable_z = true
  22. angle_max = 360.0
  23. initial_velocity_min = 5.0
  24. initial_velocity_max = 35.0
  25. gravity = Vector3(0, 0, 0)
  26. scale_min = 0.6
  27. scale_max = 1.5
  28. scale_curve = SubResource("CurveTexture_j77i6")
  29. anim_offset_max = 1.0
  30.  
  31. [node name="ShotFire3" type="GPUParticles2D" node_paths=PackedStringArray("Particles2D")]
  32. modulate = Color(0.95, 0.70965, 0.6365, 0.470588)
  33. material = SubResource("CanvasItemMaterial_4wcis")
  34. emitting = false
  35. process_material = SubResource("ParticleProcessMaterial_8n28q")
  36. texture = ExtResource("1_r2unj")
  37. lifetime = 0.7
  38. one_shot = true
  39. explosiveness = 1.0
  40. randomness = 0.5
  41. fixed_fps = 20
  42. script = ExtResource("1_pdyqx")
  43. Particles2D = []