Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / ShotFire0004.tscn
@小李xl 小李xl on 29 Jan 2024 1 KB 制作0010武器完成
  1. [gd_scene load_steps=8 format=3 uid="uid://yg8n8xi3ucqi"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://dw3amegyt2ehh" path="res://resource/sprite/shootFire/ShotFire0003.png" id="1_lxoh4"]
  4. [ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_qlt57"]
  5.  
  6. [sub_resource type="AtlasTexture" id="AtlasTexture_1cqk8"]
  7. atlas = ExtResource("1_lxoh4")
  8. region = Rect2(0, 0, 9, 11)
  9.  
  10. [sub_resource type="AtlasTexture" id="AtlasTexture_hfpwi"]
  11. atlas = ExtResource("1_lxoh4")
  12. region = Rect2(9, 0, 9, 11)
  13.  
  14. [sub_resource type="AtlasTexture" id="AtlasTexture_dvimy"]
  15. atlas = ExtResource("1_lxoh4")
  16. region = Rect2(18, 0, 9, 11)
  17.  
  18. [sub_resource type="AtlasTexture" id="AtlasTexture_bk1sq"]
  19. atlas = ExtResource("1_lxoh4")
  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_1cqk8")
  27. }, {
  28. "duration": 1.0,
  29. "texture": SubResource("AtlasTexture_hfpwi")
  30. }, {
  31. "duration": 1.0,
  32. "texture": SubResource("AtlasTexture_dvimy")
  33. }, {
  34. "duration": 1.0,
  35. "texture": SubResource("AtlasTexture_bk1sq")
  36. }, {
  37. "duration": 1.0,
  38. "texture": null
  39. }],
  40. "loop": false,
  41. "name": &"default",
  42. "speed": 20.0
  43. }]
  44.  
  45. [node name="ShotFire4" 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_qlt57")
  51. DelayTime = 0.5
  52. Particles2D = []