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