Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / role / enemy / Enemy0001.tscn
  1. [gd_scene load_steps=13 format=3 uid="uid://b8s1dgu63fddf"]
  2.  
  3. [ext_resource type="PackedScene" uid="uid://dbrig6dq441wo" path="res://prefab/role/template/AiTemplate.tscn" id="1_2vqwe"]
  4. [ext_resource type="Script" path="res://src/game/activity/role/enemy/Enemy.cs" id="2_0pcq3"]
  5. [ext_resource type="Shader" path="res://resource/shader/Blend.gdshader" id="3_x8agd"]
  6. [ext_resource type="SpriteFrames" uid="uid://cnctpyrn02rhd" path="res://resource/spriteFrames/role/Enemy0001.tres" id="4_qv8w5"]
  7. [ext_resource type="Animation" uid="uid://b4mgiysicdk2b" path="res://resource/animation/enemy/Enemy_reset.res" id="5_ffnft"]
  8. [ext_resource type="Animation" uid="uid://gvkkxspcdwrp" path="res://resource/animation/enemy/Enemy_astonished.res" id="5_jyt15"]
  9. [ext_resource type="Animation" uid="uid://16rxpnsgj5tl" path="res://resource/animation/enemy/Enemy_notify.res" id="6_x8gmo"]
  10. [ext_resource type="Animation" uid="uid://cmje7jsgrhgmx" path="res://resource/animation/enemy/Enemy_query.res" id="7_e37p2"]
  11.  
  12. [sub_resource type="ShaderMaterial" id="ShaderMaterial_3nkur"]
  13. resource_local_to_scene = true
  14. shader = ExtResource("3_x8agd")
  15. shader_parameter/blend = Color(0, 0, 0, 0.470588)
  16. shader_parameter/schedule = 1.0
  17. shader_parameter/modulate = Color(1, 1, 1, 1)
  18. shader_parameter/show_outline = true
  19. shader_parameter/outline_color = Color(0, 0, 0, 1)
  20. shader_parameter/outline_rainbow = false
  21. shader_parameter/outline_use_blend = true
  22. shader_parameter/grey = 0.0
  23.  
  24. [sub_resource type="ShaderMaterial" id="ShaderMaterial_2kup1"]
  25. resource_local_to_scene = true
  26. shader = ExtResource("3_x8agd")
  27. shader_parameter/blend = Color(1, 1, 1, 1)
  28. shader_parameter/schedule = 0.0
  29. shader_parameter/modulate = Color(1, 1, 1, 1)
  30. shader_parameter/show_outline = true
  31. shader_parameter/outline_color = Color(0, 0, 0, 1)
  32. shader_parameter/outline_rainbow = false
  33. shader_parameter/outline_use_blend = true
  34. shader_parameter/grey = 0.0
  35.  
  36. [sub_resource type="RectangleShape2D" id="RectangleShape2D_rkrey"]
  37. size = Vector2(12, 18)
  38.  
  39. [sub_resource type="AnimationLibrary" id="AnimationLibrary_ur1ug"]
  40. _data = {
  41. "RESET": ExtResource("5_ffnft"),
  42. "astonished": ExtResource("5_jyt15"),
  43. "notify": ExtResource("6_x8gmo"),
  44. "query": ExtResource("7_e37p2")
  45. }
  46.  
  47. [node name="Enemy0001" node_paths=PackedStringArray("ViewRay", "NavigationAgent2D", "NavigationPoint", "FirePoint", "ViewArea", "ViewAreaCollision", "HurtArea", "HurtCollision", "InteractiveArea", "InteractiveCollision", "TipRoot", "TipSprite", "AnimationPlayer", "MountPoint", "BackMountPoint", "MeleeAttackArea", "MeleeAttackCollision", "ShadowSprite", "AnimatedSprite", "Collision") instance=ExtResource("1_2vqwe")]
  48. script = ExtResource("2_0pcq3")
  49. ViewRay = NodePath("ViewRay")
  50. NavigationAgent2D = NodePath("NavigationPoint/NavigationAgent2D")
  51. NavigationPoint = NodePath("NavigationPoint")
  52. FirePoint = NodePath("FirePoint")
  53. ViewArea = NodePath("MountPoint/ViewArea")
  54. ViewAreaCollision = NodePath("MountPoint/ViewArea/ViewAreaCollision")
  55. HurtArea = NodePath("HurtArea")
  56. HurtCollision = NodePath("HurtArea/HurtCollision")
  57. InteractiveArea = NodePath("InteractiveArea")
  58. InteractiveCollision = NodePath("InteractiveArea/InteractiveCollision")
  59. TipRoot = NodePath("TipRoot")
  60. TipSprite = NodePath("TipRoot/TipSprite")
  61. AnimationPlayer = NodePath("AnimationPlayer")
  62. MountPoint = NodePath("MountPoint")
  63. BackMountPoint = NodePath("BackMountPoint")
  64. MeleeAttackArea = NodePath("MountPoint/MeleeAttackArea")
  65. MeleeAttackCollision = NodePath("MountPoint/MeleeAttackArea/MeleeAttackCollision")
  66. ShadowSprite = NodePath("ShadowSprite")
  67. AnimatedSprite = NodePath("AnimatedSprite")
  68. Collision = NodePath("Collision")
  69.  
  70. [node name="ShadowSprite" parent="." index="0"]
  71. material = SubResource("ShaderMaterial_3nkur")
  72.  
  73. [node name="AnimatedSprite" parent="." index="2"]
  74. material = SubResource("ShaderMaterial_2kup1")
  75. sprite_frames = ExtResource("4_qv8w5")
  76.  
  77. [node name="HurtCollision" parent="HurtArea" index="0"]
  78. shape = SubResource("RectangleShape2D_rkrey")
  79.  
  80. [node name="FirePoint" parent="." index="8"]
  81. position = Vector2(2, -9)
  82.  
  83. [node name="AnimationPlayer" parent="." index="11"]
  84. libraries = {
  85. "": SubResource("AnimationLibrary_ur1ug")
  86. }