mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
Sound effects
This commit is contained in:
parent
80a13d047d
commit
60ab375572
41 changed files with 504 additions and 15 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://h11o0et1y54v"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://h11o0et1y54v"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dsa4b75hdig8p" path="res://Scripts/Bullet.cs" id="1_f0epf"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2bp03a70cpyd" path="res://Sprites/Explosion1.png" id="2_gmwb3"]
|
||||
[ext_resource type="AudioStream" uid="uid://ds84e0m5l4i5d" path="res://SFX/404752__owlstorm__retro-video-game-sfx-explode-3.wav" id="3_wng0j"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ltwjd"]
|
||||
atlas = ExtResource("2_gmwb3")
|
||||
|
|
@ -90,6 +91,10 @@ editor_description = "Player Bullet"
|
|||
|
||||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
|
||||
[node name="ExplosionSound" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("3_wng0j")
|
||||
autoplay = true
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue