Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / ShotFire2.tscn
  1. [gd_scene load_steps=8 format=3 uid="uid://drcvbo0xam6q"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://cj8gb5dxnk8ov" path="res://resource/sprite/effects/weapon/ShotFire2.png" id="1_ljjfn"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_4ecjw"]
  5.  
  6. [sub_resource type="AtlasTexture" id="AtlasTexture_2nk6j"]
  7. atlas = ExtResource("1_ljjfn")
  8. region = Rect2(0, 0, 9, 11)
  9.  
  10. [sub_resource type="AtlasTexture" id="AtlasTexture_ht7ag"]
  11. atlas = ExtResource("1_ljjfn")
  12. region = Rect2(9, 0, 9, 11)
  13.  
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_jwqy0"]
  15. atlas = ExtResource("1_ljjfn")
  16. region = Rect2(18, 0, 9, 11)
  17.  
  18. [sub_resource type="AtlasTexture" id="AtlasTexture_ud7n7"]
  19. atlas = ExtResource("1_ljjfn")
  20. region = Rect2(27, 0, 9, 11)
  21.  
  22. [sub_resource type="SpriteFrames" id="SpriteFrames_rry1m"]
  23. animations = [{
  24. "frames": [{
  25. "duration": 1.0,
  26. "texture": SubResource("AtlasTexture_2nk6j")
  27. }, {
  28. "duration": 1.0,
  29. "texture": SubResource("AtlasTexture_ht7ag")
  30. }, {
  31. "duration": 1.0,
  32. "texture": SubResource("AtlasTexture_jwqy0")
  33. }, {
  34. "duration": 1.0,
  35. "texture": SubResource("AtlasTexture_ud7n7")
  36. }],
  37. "loop": false,
  38. "name": &"default",
  39. "speed": 20.0
  40. }]
  41.  
  42. [node name="ShotFire2" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  43. modulate = Color(1.6, 1.6, 1.6, 1)
  44. sprite_frames = SubResource("SpriteFrames_rry1m")
  45. autoplay = "default"
  46. offset = Vector2(5.5, 0)
  47. script = ExtResource("2_4ecjw")
  48. DelayTime = 0.2
  49. Particles2D = []