eclatement_brique.tscn 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. [gd_scene load_steps=28 format=3 uid="uid://766ld28y11ur"]
  2. [ext_resource type="Texture2D" uid="uid://dl4u6xp80b3pl" path="res://effets/eclatement_brique/sprite.png" id="1_upd2n"]
  3. [ext_resource type="Script" path="res://effets/eclatement_brique/eclatement_brique.gd" id="2_xew3s"]
  4. [sub_resource type="AtlasTexture" id="AtlasTexture_k8omh"]
  5. atlas = ExtResource("1_upd2n")
  6. region = Rect2(0, 0, 64, 44)
  7. [sub_resource type="AtlasTexture" id="AtlasTexture_axaps"]
  8. atlas = ExtResource("1_upd2n")
  9. region = Rect2(0, 44, 64, 44)
  10. [sub_resource type="AtlasTexture" id="AtlasTexture_r2k7b"]
  11. atlas = ExtResource("1_upd2n")
  12. region = Rect2(0, 88, 64, 44)
  13. [sub_resource type="AtlasTexture" id="AtlasTexture_1vipe"]
  14. atlas = ExtResource("1_upd2n")
  15. region = Rect2(0, 132, 64, 44)
  16. [sub_resource type="AtlasTexture" id="AtlasTexture_3b7g4"]
  17. atlas = ExtResource("1_upd2n")
  18. region = Rect2(0, 176, 64, 44)
  19. [sub_resource type="AtlasTexture" id="AtlasTexture_al584"]
  20. atlas = ExtResource("1_upd2n")
  21. region = Rect2(0, 220, 64, 44)
  22. [sub_resource type="AtlasTexture" id="AtlasTexture_4fl5y"]
  23. atlas = ExtResource("1_upd2n")
  24. region = Rect2(0, 264, 64, 44)
  25. [sub_resource type="AtlasTexture" id="AtlasTexture_u8am2"]
  26. atlas = ExtResource("1_upd2n")
  27. region = Rect2(0, 308, 64, 44)
  28. [sub_resource type="AtlasTexture" id="AtlasTexture_hfto7"]
  29. atlas = ExtResource("1_upd2n")
  30. region = Rect2(0, 352, 64, 44)
  31. [sub_resource type="AtlasTexture" id="AtlasTexture_fpyx8"]
  32. atlas = ExtResource("1_upd2n")
  33. region = Rect2(0, 396, 64, 44)
  34. [sub_resource type="AtlasTexture" id="AtlasTexture_o1mv6"]
  35. atlas = ExtResource("1_upd2n")
  36. region = Rect2(0, 440, 64, 44)
  37. [sub_resource type="AtlasTexture" id="AtlasTexture_1ni3y"]
  38. atlas = ExtResource("1_upd2n")
  39. region = Rect2(0, 484, 64, 44)
  40. [sub_resource type="AtlasTexture" id="AtlasTexture_6rhyi"]
  41. atlas = ExtResource("1_upd2n")
  42. region = Rect2(0, 528, 64, 44)
  43. [sub_resource type="AtlasTexture" id="AtlasTexture_p6ild"]
  44. atlas = ExtResource("1_upd2n")
  45. region = Rect2(0, 572, 64, 44)
  46. [sub_resource type="AtlasTexture" id="AtlasTexture_saikk"]
  47. atlas = ExtResource("1_upd2n")
  48. region = Rect2(0, 616, 64, 44)
  49. [sub_resource type="AtlasTexture" id="AtlasTexture_0gepx"]
  50. atlas = ExtResource("1_upd2n")
  51. region = Rect2(0, 660, 64, 44)
  52. [sub_resource type="AtlasTexture" id="AtlasTexture_bvtoy"]
  53. atlas = ExtResource("1_upd2n")
  54. region = Rect2(0, 704, 64, 44)
  55. [sub_resource type="AtlasTexture" id="AtlasTexture_idyqk"]
  56. atlas = ExtResource("1_upd2n")
  57. region = Rect2(0, 748, 64, 44)
  58. [sub_resource type="AtlasTexture" id="AtlasTexture_arijn"]
  59. atlas = ExtResource("1_upd2n")
  60. region = Rect2(0, 792, 64, 44)
  61. [sub_resource type="AtlasTexture" id="AtlasTexture_lcw4i"]
  62. atlas = ExtResource("1_upd2n")
  63. region = Rect2(0, 836, 64, 44)
  64. [sub_resource type="AtlasTexture" id="AtlasTexture_toy66"]
  65. atlas = ExtResource("1_upd2n")
  66. region = Rect2(0, 880, 64, 44)
  67. [sub_resource type="AtlasTexture" id="AtlasTexture_n5cob"]
  68. atlas = ExtResource("1_upd2n")
  69. region = Rect2(0, 924, 64, 44)
  70. [sub_resource type="AtlasTexture" id="AtlasTexture_rpyjl"]
  71. atlas = ExtResource("1_upd2n")
  72. region = Rect2(0, 968, 64, 44)
  73. [sub_resource type="AtlasTexture" id="AtlasTexture_s5tlm"]
  74. atlas = ExtResource("1_upd2n")
  75. region = Rect2(0, 1012, 64, 44)
  76. [sub_resource type="SpriteFrames" id="SpriteFrames_dmg24"]
  77. animations = [{
  78. "frames": [{
  79. "duration": 1.0,
  80. "texture": SubResource("AtlasTexture_k8omh")
  81. }, {
  82. "duration": 1.0,
  83. "texture": SubResource("AtlasTexture_axaps")
  84. }, {
  85. "duration": 1.0,
  86. "texture": SubResource("AtlasTexture_r2k7b")
  87. }, {
  88. "duration": 1.0,
  89. "texture": SubResource("AtlasTexture_1vipe")
  90. }, {
  91. "duration": 1.0,
  92. "texture": SubResource("AtlasTexture_3b7g4")
  93. }, {
  94. "duration": 1.0,
  95. "texture": SubResource("AtlasTexture_al584")
  96. }, {
  97. "duration": 1.0,
  98. "texture": SubResource("AtlasTexture_4fl5y")
  99. }, {
  100. "duration": 1.0,
  101. "texture": SubResource("AtlasTexture_u8am2")
  102. }, {
  103. "duration": 1.0,
  104. "texture": SubResource("AtlasTexture_hfto7")
  105. }, {
  106. "duration": 1.0,
  107. "texture": SubResource("AtlasTexture_fpyx8")
  108. }, {
  109. "duration": 1.0,
  110. "texture": SubResource("AtlasTexture_o1mv6")
  111. }, {
  112. "duration": 1.0,
  113. "texture": SubResource("AtlasTexture_1ni3y")
  114. }, {
  115. "duration": 1.0,
  116. "texture": SubResource("AtlasTexture_6rhyi")
  117. }, {
  118. "duration": 1.0,
  119. "texture": SubResource("AtlasTexture_p6ild")
  120. }, {
  121. "duration": 1.0,
  122. "texture": SubResource("AtlasTexture_saikk")
  123. }, {
  124. "duration": 1.0,
  125. "texture": SubResource("AtlasTexture_0gepx")
  126. }, {
  127. "duration": 1.0,
  128. "texture": SubResource("AtlasTexture_bvtoy")
  129. }, {
  130. "duration": 1.0,
  131. "texture": SubResource("AtlasTexture_idyqk")
  132. }, {
  133. "duration": 1.0,
  134. "texture": SubResource("AtlasTexture_arijn")
  135. }, {
  136. "duration": 1.0,
  137. "texture": SubResource("AtlasTexture_lcw4i")
  138. }, {
  139. "duration": 1.0,
  140. "texture": SubResource("AtlasTexture_toy66")
  141. }, {
  142. "duration": 1.0,
  143. "texture": SubResource("AtlasTexture_n5cob")
  144. }, {
  145. "duration": 1.0,
  146. "texture": SubResource("AtlasTexture_rpyjl")
  147. }, {
  148. "duration": 1.0,
  149. "texture": SubResource("AtlasTexture_s5tlm")
  150. }],
  151. "loop": false,
  152. "name": &"eclate",
  153. "speed": 24.0
  154. }]
  155. [node name="EclatementBrique" type="Node2D"]
  156. [node name="Animation" type="AnimatedSprite2D" parent="."]
  157. position = Vector2(-15, -8)
  158. sprite_frames = SubResource("SpriteFrames_dmg24")
  159. animation = &"eclate"
  160. frame = 23
  161. frame_progress = 1.0
  162. centered = false
  163. script = ExtResource("2_xew3s")