mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-06 18:51:17 +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,9 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://bc64lr3vlwchq"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://bc64lr3vlwchq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwry0643yvdiv" path="res://Scripts/Door.cs" id="1_e61bg"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwcjixrhq4cdv" path="res://Sprites/DoorVertical.png" id="1_vdvtb"]
|
||||
[ext_resource type="AudioStream" uid="uid://dmsnvo8kdjyt8" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_close.wav" id="3_gt5vd"]
|
||||
[ext_resource type="AudioStream" uid="uid://p5n7ijw2qvxy" path="res://SFX/517603__gurkboll__sony_dat_tcd-d10_pro_door_open.wav" id="4_076sv"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mbysk"]
|
||||
atlas = ExtResource("1_vdvtb")
|
||||
|
|
@ -123,4 +125,13 @@ gravity_scale = 0.0
|
|||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
shape = SubResource("RectangleShape2D_f2rl6")
|
||||
|
||||
[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
stream = ExtResource("3_gt5vd")
|
||||
max_distance = 200.0
|
||||
|
||||
[node name="DeactivationSound" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("4_076sv")
|
||||
max_distance = 200.0
|
||||
|
||||
[connection signal="animation_changed" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_changed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue