Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / MeleeAttack1.tscn
  1. [gd_scene load_steps=8 format=3 uid="uid://cylm455bsio3g"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://7jhe2mmctmr1" path="res://resource/sprite/common/MeleeAttack1.png" id="1_bjxle"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_bjagc"]
  5.  
  6. [sub_resource type="AtlasTexture" id="AtlasTexture_36t2o"]
  7. atlas = ExtResource("1_bjxle")
  8. region = Rect2(0, 0, 16, 38)
  9.  
  10. [sub_resource type="AtlasTexture" id="AtlasTexture_pwsgl"]
  11. atlas = ExtResource("1_bjxle")
  12. region = Rect2(16, 0, 16, 38)
  13.  
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_8lpt5"]
  15. atlas = ExtResource("1_bjxle")
  16. region = Rect2(32, 0, 16, 38)
  17.  
  18. [sub_resource type="AtlasTexture" id="AtlasTexture_ihg55"]
  19. atlas = ExtResource("1_bjxle")
  20. region = Rect2(48, 0, 16, 38)
  21.  
  22. [sub_resource type="SpriteFrames" id="SpriteFrames_hkcv6"]
  23. animations = [{
  24. "frames": [{
  25. "duration": 1.0,
  26. "texture": SubResource("AtlasTexture_36t2o")
  27. }, {
  28. "duration": 1.0,
  29. "texture": SubResource("AtlasTexture_pwsgl")
  30. }, {
  31. "duration": 1.0,
  32. "texture": SubResource("AtlasTexture_8lpt5")
  33. }, {
  34. "duration": 1.0,
  35. "texture": SubResource("AtlasTexture_ihg55")
  36. }],
  37. "loop": false,
  38. "name": &"default",
  39. "speed": 20.0
  40. }]
  41.  
  42. [node name="MeleeAttack1" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  43. sprite_frames = SubResource("SpriteFrames_hkcv6")
  44. script = ExtResource("2_bjagc")
  45. DelayTime = 0.2
  46. Particles2D = []