Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / enemy / EbenyDead0002.tscn
  1. [gd_scene load_steps=19 format=3 uid="uid://nfx3lhkdhv6a"]
  2.  
  3. [ext_resource type="Script" path="res://src/framework/activity/ActivityObject.cs" id="1_5vjr8"]
  4. [ext_resource type="Texture2D" uid="uid://x3tjqgdgp43n" path="res://resource/sprite/role/enemy0002/Enemy0002_dead.png" id="2_3cyjy"]
  5. [ext_resource type="Shader" path="res://resource/material/Blend.gdshader" id="2_4hojo"]
  6. [ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/effects/common/Smoke.png" id="4_m7xko"]
  7.  
  8. [sub_resource type="ShaderMaterial" id="ShaderMaterial_s1mj2"]
  9. resource_local_to_scene = true
  10. shader = ExtResource("2_4hojo")
  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. resource_local_to_scene = true
  21. shader = ExtResource("2_4hojo")
  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.  
  30. [sub_resource type="AtlasTexture" id="AtlasTexture_ag5h2"]
  31. atlas = ExtResource("2_3cyjy")
  32. region = Rect2(0, 0, 32, 32)
  33.  
  34. [sub_resource type="AtlasTexture" id="AtlasTexture_toly3"]
  35. atlas = ExtResource("2_3cyjy")
  36. region = Rect2(32, 0, 32, 32)
  37.  
  38. [sub_resource type="AtlasTexture" id="AtlasTexture_bqash"]
  39. atlas = ExtResource("2_3cyjy")
  40. region = Rect2(64, 0, 32, 32)
  41.  
  42. [sub_resource type="AtlasTexture" id="AtlasTexture_lx5fo"]
  43. atlas = ExtResource("2_3cyjy")
  44. region = Rect2(96, 0, 32, 32)
  45.  
  46. [sub_resource type="SpriteFrames" id="SpriteFrames_vhsqr"]
  47. animations = [{
  48. "frames": [{
  49. "duration": 1.0,
  50. "texture": SubResource("AtlasTexture_ag5h2")
  51. }, {
  52. "duration": 1.0,
  53. "texture": SubResource("AtlasTexture_toly3")
  54. }, {
  55. "duration": 1.0,
  56. "texture": SubResource("AtlasTexture_bqash")
  57. }, {
  58. "duration": 1.0,
  59. "texture": SubResource("AtlasTexture_lx5fo")
  60. }],
  61. "loop": false,
  62. "name": &"default",
  63. "speed": 5.0
  64. }]
  65.  
  66. [sub_resource type="CircleShape2D" id="CircleShape2D_0xl2q"]
  67. radius = 4.0
  68.  
  69. [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_p3lv8"]
  70. particles_animation = true
  71. particles_anim_h_frames = 3
  72. particles_anim_v_frames = 1
  73. particles_anim_loop = false
  74.  
  75. [sub_resource type="Gradient" id="Gradient_ryemi"]
  76. colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0.537255)
  77.  
  78. [sub_resource type="GradientTexture1D" id="GradientTexture1D_orgu0"]
  79. gradient = SubResource("Gradient_ryemi")
  80.  
  81. [sub_resource type="Curve" id="Curve_21dxk"]
  82. _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]
  83. point_count = 3
  84.  
  85. [sub_resource type="CurveTexture" id="CurveTexture_rutlp"]
  86. curve = SubResource("Curve_21dxk")
  87.  
  88. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ku1mm"]
  89. particle_flag_disable_z = true
  90. angle_max = 360.0
  91. gravity = Vector3(0, 0, 0)
  92. scale_min = 0.4
  93. scale_max = 1.5
  94. scale_curve = SubResource("CurveTexture_rutlp")
  95. color = Color(0.811765, 0.0980392, 0.0980392, 0.627451)
  96. color_ramp = SubResource("GradientTexture1D_orgu0")
  97. anim_offset_max = 1.0
  98.  
  99. [node name="Effect0002" type="CharacterBody2D" node_paths=PackedStringArray("ShadowSprite", "AnimatedSprite", "Collision")]
  100. collision_layer = 128
  101. script = ExtResource("1_5vjr8")
  102. ShadowSprite = NodePath("ShadowSprite")
  103. AnimatedSprite = NodePath("AnimatedSprite")
  104. Collision = NodePath("Collision")
  105.  
  106. [node name="ShadowSprite" type="Sprite2D" parent="."]
  107. z_index = -1
  108. material = SubResource("ShaderMaterial_s1mj2")
  109.  
  110. [node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
  111. material = SubResource("ShaderMaterial_08fn3")
  112. sprite_frames = SubResource("SpriteFrames_vhsqr")
  113. autoplay = "default"
  114. offset = Vector2(0, -9)
  115.  
  116. [node name="Collision" type="CollisionShape2D" parent="."]
  117. shape = SubResource("CircleShape2D_0xl2q")
  118.  
  119. [node name="GPUParticles2D" type="GPUParticles2D" parent="."]
  120. material = SubResource("CanvasItemMaterial_p3lv8")
  121. emitting = false
  122. process_material = SubResource("ParticleProcessMaterial_ku1mm")
  123. texture = ExtResource("4_m7xko")
  124. fixed_fps = 20