Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / enemy / EnemyBlood0002.tscn
@小李xl 小李xl on 11 Apr 2024 2 KB 更新敌人效果
  1. [gd_scene load_steps=6 format=3 uid="uid://dayagrbplo04b"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://nbwtavmsjps6" path="res://resource/sprite/role/dle_liquid/enemy0001_Icon_liquid.png" id="1_ite3h"]
  4. [ext_resource type="Script" path="res://src/game/effects/enemy/EnemyBlood0002.cs" id="2_uof3e"]
  5.  
  6. [sub_resource type="Animation" id="Animation_p16al"]
  7. length = 0.001
  8. tracks/0/type = "value"
  9. tracks/0/imported = false
  10. tracks/0/enabled = true
  11. tracks/0/path = NodePath(".:region_rect")
  12. tracks/0/interp = 1
  13. tracks/0/loop_wrap = true
  14. tracks/0/keys = {
  15. "times": PackedFloat32Array(0),
  16. "transitions": PackedFloat32Array(1),
  17. "update": 0,
  18. "values": [Rect2(2.08165e-12, 2.08165e-12, 20, 48)]
  19. }
  20.  
  21. [sub_resource type="Animation" id="Animation_rir6a"]
  22. resource_name = "default"
  23. length = 0.2
  24. step = 0.05
  25. tracks/0/type = "value"
  26. tracks/0/imported = false
  27. tracks/0/enabled = true
  28. tracks/0/path = NodePath(".:region_rect")
  29. tracks/0/interp = 1
  30. tracks/0/loop_wrap = true
  31. tracks/0/keys = {
  32. "times": PackedFloat32Array(0, 0.2),
  33. "transitions": PackedFloat32Array(1, 1),
  34. "update": 0,
  35. "values": [Rect2(2.08165e-12, 2.08165e-12, 20, 48), Rect2(2.08165e-12, 2.08165e-12, 80, 48)]
  36. }
  37. tracks/1/type = "method"
  38. tracks/1/imported = false
  39. tracks/1/enabled = true
  40. tracks/1/path = NodePath(".")
  41. tracks/1/interp = 1
  42. tracks/1/loop_wrap = true
  43. tracks/1/keys = {
  44. "times": PackedFloat32Array(0.2),
  45. "transitions": PackedFloat32Array(1),
  46. "values": [{
  47. "args": [],
  48. "method": &"DoDestory"
  49. }]
  50. }
  51.  
  52. [sub_resource type="AnimationLibrary" id="AnimationLibrary_f1xdh"]
  53. _data = {
  54. "RESET": SubResource("Animation_p16al"),
  55. "default": SubResource("Animation_rir6a")
  56. }
  57.  
  58. [node name="EnemyBlood0002" type="Sprite2D"]
  59. modulate = Color(0.992157, 0.788235, 0.788235, 1)
  60. texture = ExtResource("1_ite3h")
  61. centered = false
  62. offset = Vector2(-16, -24)
  63. region_enabled = true
  64. region_rect = Rect2(2.08165e-12, 2.08165e-12, 20, 48)
  65. region_filter_clip_enabled = true
  66. script = ExtResource("2_uof3e")
  67.  
  68. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  69. libraries = {
  70. "": SubResource("AnimationLibrary_f1xdh")
  71. }
  72. autoplay = "default"