Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / ShotFire0002.tscn
@小李xl 小李xl on 29 Jan 2024 1 KB 制作0010武器完成
  1. [gd_scene load_steps=8 format=3 uid="uid://drcvbo0xam6q"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://cj8gb5dxnk8ov" path="res://resource/sprite/shootFire/ShotFire0002.png" id="1_02pnb"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_uoe2l"]
  5.  
  6. [sub_resource type="AtlasTexture" id="AtlasTexture_2nk6j"]
  7. atlas = ExtResource("1_02pnb")
  8. region = Rect2(0, 0, 9, 11)
  9.  
  10. [sub_resource type="AtlasTexture" id="AtlasTexture_ht7ag"]
  11. atlas = ExtResource("1_02pnb")
  12. region = Rect2(9, 0, 9, 11)
  13.  
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_jwqy0"]
  15. atlas = ExtResource("1_02pnb")
  16. region = Rect2(18, 0, 9, 11)
  17.  
  18. [sub_resource type="AtlasTexture" id="AtlasTexture_ud7n7"]
  19. atlas = ExtResource("1_02pnb")
  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. "duration": 1.0,
  38. "texture": null
  39. }],
  40. "loop": false,
  41. "name": &"default",
  42. "speed": 20.0
  43. }]
  44.  
  45. [node name="ShotFire2" type="AnimatedSprite2D" node_paths=PackedStringArray("Particles2D")]
  46. modulate = Color(1.6, 1.6, 1.6, 1)
  47. position = Vector2(-1, 0)
  48. sprite_frames = SubResource("SpriteFrames_rry1m")
  49. offset = Vector2(5.5, 0)
  50. script = ExtResource("2_uoe2l")
  51. DelayTime = 0.5
  52. Particles2D = []