Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / bullet / BulletDisappear0002.tscn
  1. [gd_scene load_steps=16 format=3 uid="uid://7fjw62ymmrl7"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://cusp3s5t7qbuy" path="res://resource/sprite/explode/Explode_circle0002.png" id="1_xuqre"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_eeot2"]
  5. [ext_resource type="Texture2D" uid="uid://du0f3km5jhxlg" path="res://resource/sprite/common/Smoke4.png" id="3_yow4l"]
  6.  
  7. [sub_resource type="AtlasTexture" id="AtlasTexture_w7xvw"]
  8. atlas = ExtResource("1_xuqre")
  9. region = Rect2(0, 0, 16, 16)
  10.  
  11. [sub_resource type="AtlasTexture" id="AtlasTexture_tt7yd"]
  12. atlas = ExtResource("1_xuqre")
  13. region = Rect2(16, 0, 16, 16)
  14.  
  15. [sub_resource type="AtlasTexture" id="AtlasTexture_5yu76"]
  16. atlas = ExtResource("1_xuqre")
  17. region = Rect2(32, 0, 16, 16)
  18.  
  19. [sub_resource type="AtlasTexture" id="AtlasTexture_obu2v"]
  20. atlas = ExtResource("1_xuqre")
  21. region = Rect2(48, 0, 16, 16)
  22.  
  23. [sub_resource type="AtlasTexture" id="AtlasTexture_5nbmq"]
  24. atlas = ExtResource("1_xuqre")
  25. region = Rect2(64, 0, 16, 16)
  26.  
  27. [sub_resource type="AtlasTexture" id="AtlasTexture_tiuph"]
  28. atlas = ExtResource("1_xuqre")
  29. region = Rect2(80, 0, 16, 16)
  30.  
  31. [sub_resource type="AtlasTexture" id="AtlasTexture_n3apl"]
  32. atlas = ExtResource("1_xuqre")
  33. region = Rect2(96, 0, 16, 16)
  34.  
  35. [sub_resource type="SpriteFrames" id="SpriteFrames_ub3cw"]
  36. animations = [{
  37. "frames": [{
  38. "duration": 1.0,
  39. "texture": SubResource("AtlasTexture_w7xvw")
  40. }, {
  41. "duration": 1.0,
  42. "texture": SubResource("AtlasTexture_tt7yd")
  43. }, {
  44. "duration": 1.0,
  45. "texture": SubResource("AtlasTexture_5yu76")
  46. }, {
  47. "duration": 1.0,
  48. "texture": SubResource("AtlasTexture_obu2v")
  49. }, {
  50. "duration": 1.0,
  51. "texture": SubResource("AtlasTexture_5nbmq")
  52. }, {
  53. "duration": 1.0,
  54. "texture": SubResource("AtlasTexture_tiuph")
  55. }, {
  56. "duration": 1.0,
  57. "texture": SubResource("AtlasTexture_n3apl")
  58. }, {
  59. "duration": 1.0,
  60. "texture": null
  61. }],
  62. "loop": false,
  63. "name": &"default",
  64. "speed": 18.0
  65. }]
  66.  
  67. [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_4bd3q"]
  68. particles_animation = true
  69. particles_anim_h_frames = 3
  70. particles_anim_v_frames = 1
  71. particles_anim_loop = false
  72.  
  73. [sub_resource type="Curve" id="Curve_86ye5"]
  74. _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]
  75. point_count = 3
  76.  
  77. [sub_resource type="CurveTexture" id="CurveTexture_j77i6"]
  78. curve = SubResource("Curve_86ye5")
  79.  
  80. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8k30u"]
  81. lifetime_randomness = 0.3
  82. particle_flag_disable_z = true
  83. angle_max = 360.0
  84. direction = Vector3(0, -1, 0)
  85. initial_velocity_min = 70.0
  86. initial_velocity_max = 90.0
  87. gravity = Vector3(0, 150, 0)
  88. scale_min = 0.9
  89. scale_max = 1.5
  90. scale_curve = SubResource("CurveTexture_j77i6")
  91. color = Color(1, 1, 1, 0.392157)
  92. anim_offset_max = 1.0
  93.  
  94. [node name="BulletDisappear0002" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  95. modulate = Color(0.952941, 0.709804, 0.635294, 1)
  96. z_index = -4
  97. scale = Vector2(0.5, 0.5)
  98. sprite_frames = SubResource("SpriteFrames_ub3cw")
  99. frame = 7
  100. frame_progress = 1.0
  101. script = ExtResource("2_eeot2")
  102. Particles2D = [NodePath("GPUParticles2D")]
  103.  
  104. [node name="GPUParticles2D" type="GPUParticles2D" parent="."]
  105. material = SubResource("CanvasItemMaterial_4bd3q")
  106. emitting = false
  107. process_material = SubResource("ParticleProcessMaterial_8k30u")
  108. texture = ExtResource("3_yow4l")
  109. lifetime = 0.5
  110. one_shot = true
  111. explosiveness = 0.9
  112. randomness = 0.5
  113. fixed_fps = 20