Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / enemy / EnemyDead0001.tscn
  1. [gd_scene load_steps=31 format=3 uid="uid://pr88a1phtxgb"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/effects/enemy/EnemyDead0001.cs" id="1_1re5v"]
  4. [ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="2_s7bee"]
  5. [ext_resource type="Texture2D" uid="uid://cn64eauvwx1uj" path="res://resource/sprite/role/enemy0001/enemy0001_Debris.png" id="3_uinig"]
  6. [ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/common/Smoke.png" id="4_t55wd"]
  7.  
  8. [sub_resource type="ShaderMaterial" id="ShaderMaterial_s1mj2"]
  9. resource_local_to_scene = true
  10. shader = ExtResource("2_s7bee")
  11. shader_parameter/blend = Color(0, 0, 0, 0.470588)
  12. shader_parameter/schedule = 1.0
  13. shader_parameter/modulate = Color(1, 1, 1, 1)
  14. shader_parameter/show_outline = true
  15. shader_parameter/outline_color = Color(0, 0, 0, 1)
  16. shader_parameter/outline_rainbow = false
  17. shader_parameter/outline_use_blend = true
  18. shader_parameter/grey = 0.0
  19.  
  20. [sub_resource type="ShaderMaterial" id="ShaderMaterial_08fn3"]
  21. shader = ExtResource("2_s7bee")
  22. shader_parameter/blend = Color(1, 1, 1, 1)
  23. shader_parameter/schedule = 0.0
  24. shader_parameter/modulate = Color(1, 1, 1, 1)
  25. shader_parameter/show_outline = false
  26. shader_parameter/outline_color = Color(0, 0, 0, 1)
  27. shader_parameter/outline_rainbow = false
  28. shader_parameter/outline_use_blend = true
  29. shader_parameter/grey = 0.0
  30.  
  31. [sub_resource type="AtlasTexture" id="AtlasTexture_cldwb"]
  32. atlas = ExtResource("3_uinig")
  33. region = Rect2(0, 0, 16, 16)
  34.  
  35. [sub_resource type="AtlasTexture" id="AtlasTexture_ehtnl"]
  36. atlas = ExtResource("3_uinig")
  37. region = Rect2(16, 0, 16, 16)
  38.  
  39. [sub_resource type="AtlasTexture" id="AtlasTexture_j05gd"]
  40. atlas = ExtResource("3_uinig")
  41. region = Rect2(32, 0, 16, 16)
  42.  
  43. [sub_resource type="AtlasTexture" id="AtlasTexture_7el6f"]
  44. atlas = ExtResource("3_uinig")
  45. region = Rect2(48, 0, 16, 16)
  46.  
  47. [sub_resource type="AtlasTexture" id="AtlasTexture_n7sw3"]
  48. atlas = ExtResource("3_uinig")
  49. region = Rect2(64, 0, 16, 16)
  50.  
  51. [sub_resource type="AtlasTexture" id="AtlasTexture_mumsm"]
  52. atlas = ExtResource("3_uinig")
  53. region = Rect2(80, 0, 16, 16)
  54.  
  55. [sub_resource type="AtlasTexture" id="AtlasTexture_gx41d"]
  56. atlas = ExtResource("3_uinig")
  57. region = Rect2(96, 0, 16, 16)
  58.  
  59. [sub_resource type="AtlasTexture" id="AtlasTexture_r4nx1"]
  60. atlas = ExtResource("3_uinig")
  61. region = Rect2(112, 0, 16, 16)
  62.  
  63. [sub_resource type="AtlasTexture" id="AtlasTexture_s8j4o"]
  64. atlas = ExtResource("3_uinig")
  65. region = Rect2(128, 0, 16, 16)
  66.  
  67. [sub_resource type="AtlasTexture" id="AtlasTexture_2svrb"]
  68. atlas = ExtResource("3_uinig")
  69. region = Rect2(144, 0, 16, 16)
  70.  
  71. [sub_resource type="AtlasTexture" id="AtlasTexture_twd5t"]
  72. atlas = ExtResource("3_uinig")
  73. region = Rect2(160, 0, 16, 16)
  74.  
  75. [sub_resource type="AtlasTexture" id="AtlasTexture_8w5ka"]
  76. atlas = ExtResource("3_uinig")
  77. region = Rect2(176, 0, 16, 16)
  78.  
  79. [sub_resource type="AtlasTexture" id="AtlasTexture_6iumv"]
  80. atlas = ExtResource("3_uinig")
  81. region = Rect2(192, 0, 16, 16)
  82.  
  83. [sub_resource type="AtlasTexture" id="AtlasTexture_lpilf"]
  84. atlas = ExtResource("3_uinig")
  85. region = Rect2(208, 0, 16, 16)
  86.  
  87. [sub_resource type="AtlasTexture" id="AtlasTexture_n1a5a"]
  88. atlas = ExtResource("3_uinig")
  89. region = Rect2(224, 0, 16, 16)
  90.  
  91. [sub_resource type="AtlasTexture" id="AtlasTexture_q0oeq"]
  92. atlas = ExtResource("3_uinig")
  93. region = Rect2(240, 0, 16, 16)
  94.  
  95. [sub_resource type="SpriteFrames" id="SpriteFrames_15g84"]
  96. animations = [{
  97. "frames": [{
  98. "duration": 1.0,
  99. "texture": SubResource("AtlasTexture_cldwb")
  100. }, {
  101. "duration": 1.0,
  102. "texture": SubResource("AtlasTexture_ehtnl")
  103. }, {
  104. "duration": 1.0,
  105. "texture": SubResource("AtlasTexture_j05gd")
  106. }, {
  107. "duration": 1.0,
  108. "texture": SubResource("AtlasTexture_7el6f")
  109. }, {
  110. "duration": 1.0,
  111. "texture": SubResource("AtlasTexture_n7sw3")
  112. }, {
  113. "duration": 1.0,
  114. "texture": SubResource("AtlasTexture_mumsm")
  115. }, {
  116. "duration": 1.0,
  117. "texture": SubResource("AtlasTexture_gx41d")
  118. }, {
  119. "duration": 1.0,
  120. "texture": SubResource("AtlasTexture_r4nx1")
  121. }, {
  122. "duration": 1.0,
  123. "texture": SubResource("AtlasTexture_s8j4o")
  124. }, {
  125. "duration": 1.0,
  126. "texture": SubResource("AtlasTexture_2svrb")
  127. }, {
  128. "duration": 1.0,
  129. "texture": SubResource("AtlasTexture_twd5t")
  130. }, {
  131. "duration": 1.0,
  132. "texture": SubResource("AtlasTexture_8w5ka")
  133. }, {
  134. "duration": 1.0,
  135. "texture": SubResource("AtlasTexture_6iumv")
  136. }, {
  137. "duration": 1.0,
  138. "texture": SubResource("AtlasTexture_lpilf")
  139. }, {
  140. "duration": 1.0,
  141. "texture": SubResource("AtlasTexture_n1a5a")
  142. }, {
  143. "duration": 1.0,
  144. "texture": SubResource("AtlasTexture_q0oeq")
  145. }],
  146. "loop": false,
  147. "name": &"default",
  148. "speed": 5.0
  149. }]
  150.  
  151. [sub_resource type="CircleShape2D" id="CircleShape2D_0xl2q"]
  152. radius = 4.0
  153.  
  154. [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_p3lv8"]
  155. particles_animation = true
  156. particles_anim_h_frames = 3
  157. particles_anim_v_frames = 1
  158. particles_anim_loop = false
  159.  
  160. [sub_resource type="Gradient" id="Gradient_ryemi"]
  161. colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.537255)
  162.  
  163. [sub_resource type="GradientTexture1D" id="GradientTexture1D_orgu0"]
  164. gradient = SubResource("Gradient_ryemi")
  165.  
  166. [sub_resource type="Curve" id="Curve_21dxk"]
  167. _data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.177419, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.0272727), 0.0, 0.0, 0, 0]
  168. point_count = 3
  169.  
  170. [sub_resource type="CurveTexture" id="CurveTexture_rutlp"]
  171. curve = SubResource("Curve_21dxk")
  172.  
  173. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ku1mm"]
  174. particle_flag_disable_z = true
  175. angle_max = 360.0
  176. gravity = Vector3(0, 0, 0)
  177. scale_min = 0.4
  178. scale_max = 1.5
  179. scale_curve = SubResource("CurveTexture_rutlp")
  180. color = Color(0.811765, 0.0980392, 0.0980392, 0.627451)
  181. color_ramp = SubResource("GradientTexture1D_orgu0")
  182. anim_offset_max = 1.0
  183.  
  184. [node name="Effect0001" type="CharacterBody2D" node_paths=PackedStringArray("ShadowSprite", "AnimatedSprite", "Collision")]
  185. collision_layer = 128
  186. script = ExtResource("1_1re5v")
  187. ShadowSprite = NodePath("ShadowSprite")
  188. AnimatedSprite = NodePath("AnimatedSprite")
  189. Collision = NodePath("Collision")
  190.  
  191. [node name="ShadowSprite" type="Sprite2D" parent="."]
  192. z_index = -1
  193. material = SubResource("ShaderMaterial_s1mj2")
  194.  
  195. [node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
  196. material = SubResource("ShaderMaterial_08fn3")
  197. sprite_frames = SubResource("SpriteFrames_15g84")
  198.  
  199. [node name="Collision" type="CollisionShape2D" parent="."]
  200. shape = SubResource("CircleShape2D_0xl2q")
  201.  
  202. [node name="GPUParticles2D" type="GPUParticles2D" parent="."]
  203. material = SubResource("CanvasItemMaterial_p3lv8")
  204. emitting = false
  205. process_material = SubResource("ParticleProcessMaterial_ku1mm")
  206. texture = ExtResource("4_t55wd")
  207. fixed_fps = 20