Jelajahi Sumber

:fire: Enleve le bruit a l'impact de la balle

DricomDragon 10 bulan lalu
induk
melakukan
4b3cc05c6c
1 mengubah file dengan 1 tambahan dan 8 penghapusan
  1. 1 8
      godot/composants/objets/balle/balle.tscn

+ 1 - 8
godot/composants/objets/balle/balle.tscn

@@ -1,8 +1,7 @@
-[gd_scene load_steps=5 format=3 uid="uid://vilrv0y5q2re"]
+[gd_scene load_steps=4 format=3 uid="uid://vilrv0y5q2re"]
 
 [ext_resource type="Script" path="res://composants/objets/balle/balle.gd" id="1_n72rw"]
 [ext_resource type="Texture2D" uid="uid://bbpkc5fx4p34l" path="res://composants/objets/balle/ball_main0001.png" id="2_aab72"]
-[ext_resource type="AudioStream" uid="uid://cfmm8vsdh4ahu" path="res://composants/objets/balle/collision_sfx.wav" id="3_7fm42"]
 
 [sub_resource type="CircleShape2D" id="CircleShape2D_lab73"]
 radius = 5.42
@@ -21,9 +20,3 @@ texture = ExtResource("2_aab72")
 
 [node name="Forme" type="CollisionShape2D" parent="."]
 shape = SubResource("CircleShape2D_lab73")
-
-[node name="CollisionNoise" type="AudioStreamPlayer2D" parent="."]
-stream = ExtResource("3_7fm42")
-bus = &"Bruits"
-
-[connection signal="rebondi" from="." to="CollisionNoise" method="play"]