LongFirebar.tscn 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. [gd_scene load_steps=7 format=3 uid="uid://033s0lgpb33l"]
  2. [ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="1_m6o3e"]
  3. [ext_resource type="Texture2D" uid="uid://pidoncb5gcax" path="res://Assets/Sprites/Items/Fireball.png" id="2_s1hms"]
  4. [sub_resource type="SegmentShape2D" id="SegmentShape2D_s77o2"]
  5. b = Vector2(0, 80)
  6. [sub_resource type="Animation" id="Animation_vag0n"]
  7. length = 0.001
  8. tracks/0/type = "value"
  9. tracks/0/imported = false
  10. tracks/0/enabled = true
  11. tracks/0/path = NodePath(".:rotation")
  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": [0.0]
  19. }
  20. [sub_resource type="Animation" id="Animation_oygiu"]
  21. resource_name = "Spin"
  22. length = 0.4
  23. loop_mode = 1
  24. step = 0.1
  25. tracks/0/type = "value"
  26. tracks/0/imported = false
  27. tracks/0/enabled = true
  28. tracks/0/path = NodePath(".:rotation")
  29. tracks/0/interp = 0
  30. tracks/0/loop_wrap = true
  31. tracks/0/keys = {
  32. "times": PackedFloat32Array(0, 0.100442, 0.2, 0.3),
  33. "transitions": PackedFloat32Array(1, 1, 1, 1),
  34. "update": 0,
  35. "values": [0.0, 1.5708, 3.14159, 4.71239]
  36. }
  37. [sub_resource type="AnimationLibrary" id="AnimationLibrary_ytedt"]
  38. _data = {
  39. &"RESET": SubResource("Animation_vag0n"),
  40. &"Spin": SubResource("Animation_oygiu")
  41. }
  42. [node name="Firebar" instance=ExtResource("1_m6o3e")]
  43. [node name="RemoteTransform2D17" type="RemoteTransform2D" parent="RotationJoint" index="6"]
  44. position = Vector2(0, 48)
  45. remote_path = NodePath("../../Fireballs/Fireball7")
  46. update_rotation = false
  47. update_scale = false
  48. [node name="RemoteTransform2D18" type="RemoteTransform2D" parent="RotationJoint" index="7"]
  49. position = Vector2(0, 56)
  50. remote_path = NodePath("../../Fireballs/Fireball8")
  51. update_rotation = false
  52. update_scale = false
  53. [node name="RemoteTransform2D19" type="RemoteTransform2D" parent="RotationJoint" index="8"]
  54. position = Vector2(0, 64)
  55. remote_path = NodePath("../../Fireballs/Fireball9")
  56. update_rotation = false
  57. update_scale = false
  58. [node name="RemoteTransform2D20" type="RemoteTransform2D" parent="RotationJoint" index="9"]
  59. position = Vector2(0, 72)
  60. remote_path = NodePath("../../Fireballs/Fireball10")
  61. update_rotation = false
  62. update_scale = false
  63. [node name="RemoteTransform2D21" type="RemoteTransform2D" parent="RotationJoint" index="10"]
  64. position = Vector2(0, 80)
  65. remote_path = NodePath("../../Fireballs/Fireball11")
  66. update_rotation = false
  67. update_scale = false
  68. [node name="Shape" parent="RotationJoint/Hitbox" index="0"]
  69. shape = SubResource("SegmentShape2D_s77o2")
  70. [node name="Fireballs" parent="." index="2"]
  71. z_index = 4096
  72. z_as_relative = false
  73. [node name="Fireball17" type="Sprite2D" parent="Fireballs" index="6"]
  74. position = Vector2(33.9411, 33.9411)
  75. texture = ExtResource("2_s1hms")
  76. [node name="Fireball18" type="Sprite2D" parent="Fireballs" index="7"]
  77. position = Vector2(39.598, 39.598)
  78. texture = ExtResource("2_s1hms")
  79. [node name="Fireball19" type="Sprite2D" parent="Fireballs" index="8"]
  80. position = Vector2(45.2548, 45.2548)
  81. texture = ExtResource("2_s1hms")
  82. [node name="Fireball20" type="Sprite2D" parent="Fireballs" index="9"]
  83. position = Vector2(50.9117, 50.9117)
  84. texture = ExtResource("2_s1hms")
  85. [node name="Fireball21" type="Sprite2D" parent="Fireballs" index="10"]
  86. position = Vector2(56.5685, 56.5686)
  87. texture = ExtResource("2_s1hms")
  88. [node name="Animation2" type="AnimationPlayer" parent="Fireballs/Fireball7" index="0"]
  89. libraries = {
  90. &"": SubResource("AnimationLibrary_ytedt")
  91. }
  92. autoplay = "Spin"
  93. [node name="Animation2" type="AnimationPlayer" parent="Fireballs/Fireball8" index="0"]
  94. libraries = {
  95. &"": SubResource("AnimationLibrary_ytedt")
  96. }
  97. autoplay = "Spin"
  98. [node name="Animation2" type="AnimationPlayer" parent="Fireballs/Fireball9" index="0"]
  99. libraries = {
  100. &"": SubResource("AnimationLibrary_ytedt")
  101. }
  102. autoplay = "Spin"
  103. [node name="Animation2" type="AnimationPlayer" parent="Fireballs/Fireball10" index="0"]
  104. libraries = {
  105. &"": SubResource("AnimationLibrary_ytedt")
  106. }
  107. autoplay = "Spin"
  108. [node name="Animation2" type="AnimationPlayer" parent="Fireballs/Fireball11" index="0"]
  109. libraries = {
  110. &"": SubResource("AnimationLibrary_ytedt")
  111. }
  112. autoplay = "Spin"