|
@@ -1,102 +1,103 @@
|
|
|
-[gd_scene load_steps=28 format=3 uid="uid://766ld28y11ur"]
|
|
|
+[gd_scene load_steps=29 format=3 uid="uid://766ld28y11ur"]
|
|
|
|
|
|
-[ext_resource type="Texture2D" uid="uid://dl4u6xp80b3pl" path="res://effets/eclatement_brique/sprite.png" id="1_upd2n"]
|
|
|
-[ext_resource type="Script" path="res://effets/eclatement_brique/eclatement_brique.gd" id="2_xew3s"]
|
|
|
+[ext_resource type="Script" path="res://effets/eclatement_brique/eclatement_animation.gd" id="1_jaiil"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://dl4u6xp80b3pl" path="res://effets/eclatement_brique/sprite.png" id="2_r88cx"]
|
|
|
+[ext_resource type="AudioStream" uid="uid://cfmm8vsdh4ahu" path="res://effets/eclatement_brique/collision_sfx.wav" id="4_ly16a"]
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_k8omh"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 0, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_axaps"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 44, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_r2k7b"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 88, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1vipe"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 132, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3b7g4"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 176, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_al584"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 220, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4fl5y"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 264, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_u8am2"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 308, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hfto7"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 352, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fpyx8"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 396, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o1mv6"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 440, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1ni3y"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 484, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6rhyi"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 528, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p6ild"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 572, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_saikk"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 616, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0gepx"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 660, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bvtoy"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 704, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_idyqk"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 748, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_arijn"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 792, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lcw4i"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 836, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_toy66"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 880, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n5cob"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 924, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rpyjl"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 968, 64, 44)
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s5tlm"]
|
|
|
-atlas = ExtResource("1_upd2n")
|
|
|
+atlas = ExtResource("2_r88cx")
|
|
|
region = Rect2(0, 1012, 64, 44)
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_dmg24"]
|
|
@@ -180,12 +181,18 @@ animations = [{
|
|
|
}]
|
|
|
|
|
|
[node name="EclatementBrique" type="Node2D"]
|
|
|
+script = ExtResource("1_jaiil")
|
|
|
|
|
|
[node name="Animation" type="AnimatedSprite2D" parent="."]
|
|
|
position = Vector2(-15, -8)
|
|
|
sprite_frames = SubResource("SpriteFrames_dmg24")
|
|
|
animation = &"eclate"
|
|
|
-frame = 23
|
|
|
-frame_progress = 1.0
|
|
|
+autoplay = "eclate"
|
|
|
centered = false
|
|
|
-script = ExtResource("2_xew3s")
|
|
|
+
|
|
|
+[node name="Bruit" type="AudioStreamPlayer2D" parent="."]
|
|
|
+stream = ExtResource("4_ly16a")
|
|
|
+autoplay = true
|
|
|
+
|
|
|
+[connection signal="animation_finished" from="Animation" to="." method="_quand_sous_effet_termine"]
|
|
|
+[connection signal="finished" from="Bruit" to="." method="_quand_sous_effet_termine"]
|