Sound effects
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://cwcgq1vk643ha"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://cwcgq1vk643ha"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dqvdgdobuo2rf" path="res://Game/Bullets/bullet.gd" id="1_yml18"]
|
||||
[ext_resource type="Texture2D" uid="uid://t8y1d33eiffp" path="res://Assets/Bullets/mortarbullet (1).png" id="2_yml18"]
|
||||
@ -7,6 +7,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://crf32to6tlkux" path="res://Assets/Bullets/mortarbullet (4).png" id="5_c612l"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbu8u4h7vpqwa" path="res://Assets/Bullets/mortarbullet (5).png" id="6_m5188"]
|
||||
[ext_resource type="Texture2D" uid="uid://uc2ib201l7kd" path="res://Assets/Bullets/mortarbullet (6).png" id="7_lr72h"]
|
||||
[ext_resource type="AudioStream" uid="uid://we1hnps5j60u" path="res://Assets/Sounds/mortar impact.mp3" id="8_av0br"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yml18"]
|
||||
size = Vector2(18, 16)
|
||||
@ -64,4 +65,7 @@ autoplay = "default"
|
||||
scale = Vector2(3, 3)
|
||||
shape = SubResource("CircleShape2D_tjven")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("8_av0br")
|
||||
|
||||
[connection signal="animation_finished" from="CharacterBody2D/AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_finished"]
|
||||
|
||||
Reference in New Issue
Block a user