Add sounds
This commit is contained in:
parent
807ad50046
commit
2e23faf112
12 changed files with 146 additions and 0 deletions
BIN
audio/Ambience.wav
Normal file
BIN
audio/Ambience.wav
Normal file
Binary file not shown.
24
audio/Ambience.wav.import
Normal file
24
audio/Ambience.wav.import
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b3d6rntbosvc6"
|
||||
path="res://.godot/imported/Ambience.wav-83d8d76e0560b8a9bc9246c2fe2d879f.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/Ambience.wav"
|
||||
dest_files=["res://.godot/imported/Ambience.wav-83d8d76e0560b8a9bc9246c2fe2d879f.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
audio/Robot - Deep Breath.wav
Normal file
BIN
audio/Robot - Deep Breath.wav
Normal file
Binary file not shown.
24
audio/Robot - Deep Breath.wav.import
Normal file
24
audio/Robot - Deep Breath.wav.import
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bj5adk0tb5ymj"
|
||||
path="res://.godot/imported/Robot - Deep Breath.wav-536619348a41a6187dd536818ce629b6.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/Robot - Deep Breath.wav"
|
||||
dest_files=["res://.godot/imported/Robot - Deep Breath.wav-536619348a41a6187dd536818ce629b6.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
audio/Robot - I Understand.wav
Normal file
BIN
audio/Robot - I Understand.wav
Normal file
Binary file not shown.
24
audio/Robot - I Understand.wav.import
Normal file
24
audio/Robot - I Understand.wav.import
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dln0g1bnjh1of"
|
||||
path="res://.godot/imported/Robot - I Understand.wav-d9b69df7b54d6889fc0ebcbf12e06bdb.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/Robot - I Understand.wav"
|
||||
dest_files=["res://.godot/imported/Robot - I Understand.wav-d9b69df7b54d6889fc0ebcbf12e06bdb.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
audio/Robot - Sounds Difficult.wav
Normal file
BIN
audio/Robot - Sounds Difficult.wav
Normal file
Binary file not shown.
24
audio/Robot - Sounds Difficult.wav.import
Normal file
24
audio/Robot - Sounds Difficult.wav.import
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ddaxnm2wg2ubd"
|
||||
path="res://.godot/imported/Robot - Sounds Difficult.wav-4d7d81a42c8cfefe6a41b9255a368421.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/Robot - Sounds Difficult.wav"
|
||||
dest_files=["res://.godot/imported/Robot - Sounds Difficult.wav-4d7d81a42c8cfefe6a41b9255a368421.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
audio/Robot - Thank You.wav
Normal file
BIN
audio/Robot - Thank You.wav
Normal file
Binary file not shown.
24
audio/Robot - Thank You.wav.import
Normal file
24
audio/Robot - Thank You.wav.import
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bwovhu6jfk0vt"
|
||||
path="res://.godot/imported/Robot - Thank You.wav-aa3a9c36047e555f44dcbbf202b604d2.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/Robot - Thank You.wav"
|
||||
dest_files=["res://.godot/imported/Robot - Thank You.wav-aa3a9c36047e555f44dcbbf202b604d2.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
|
|
@ -38,6 +38,10 @@ func _set_door_collision(enabled: bool):
|
|||
$ElevatorDoorRight/CollisionShape3D.disabled = not enabled
|
||||
$ElevatorDoorLeft/CollisionShape3D.disabled = not enabled
|
||||
|
||||
func get_door_close_progress() -> float:
|
||||
var cur: float = $ElevatorDoorRight.position.x
|
||||
return clamp((DOOR_OPEN_X - cur) / (DOOR_OPEN_X - DOOR_CLOSED_X), 0.0, 1.0)
|
||||
|
||||
func _tween_doors(target_x: float, duration: float):
|
||||
if _tween:
|
||||
_tween.kill()
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@
|
|||
[ext_resource type="AudioStream" uid="uid://bavo8f76jr7i6" path="res://audio/ElevatorOpen1.wav" id="5_u5sy4"]
|
||||
[ext_resource type="AudioStream" uid="uid://dgqb1rovgwuan" path="res://audio/ElevatorClose1.wav" id="6_gee14"]
|
||||
[ext_resource type="AudioStream" uid="uid://c2iaspcnilk5" path="res://audio/556700__nachtmahrtv__elevator-bell.wav" id="7_bell"]
|
||||
[ext_resource type="AudioStream" path="res://audio/Robot - Deep Breath.wav" id="8_breath"]
|
||||
[ext_resource type="AudioStream" path="res://audio/Robot - Sounds Difficult.wav" id="9_diff"]
|
||||
[ext_resource type="AudioStream" path="res://audio/Robot - I Understand.wav" id="10_under"]
|
||||
[ext_resource type="AudioStream" path="res://audio/Robot - Thank You.wav" id="11_thx"]
|
||||
[ext_resource type="AudioStream" path="res://audio/Ambience.wav" id="12_amb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb0o3ov6u308v" path="res://scenes/component_spawn.tscn" id="9_0tnpc"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/end_screen.tscn" id="10_endsc"]
|
||||
[ext_resource type="PackedScene" uid="uid://sgakdvtoblmd" path="res://scenes/title_screen.tscn" id="11_title"]
|
||||
|
|
@ -41,6 +46,23 @@ stream = ExtResource("7_bell")
|
|||
|
||||
[node name="SfxChase" type="AudioStreamPlayer3D" parent="CanvasPanel/ElevatorPanel" unique_id=812445001]
|
||||
|
||||
[node name="SfxRobotDeepBreath" type="AudioStreamPlayer3D" parent="CanvasPanel/ElevatorPanel" unique_id=1100000001]
|
||||
stream = ExtResource("8_breath")
|
||||
|
||||
[node name="SfxRobotSoundsDifficult" type="AudioStreamPlayer3D" parent="CanvasPanel/ElevatorPanel" unique_id=1100000002]
|
||||
stream = ExtResource("9_diff")
|
||||
|
||||
[node name="SfxRobotIUnderstand" type="AudioStreamPlayer3D" parent="CanvasPanel/ElevatorPanel" unique_id=1100000003]
|
||||
stream = ExtResource("10_under")
|
||||
|
||||
[node name="SfxRobotThankYou" type="AudioStreamPlayer3D" parent="CanvasPanel/ElevatorPanel" unique_id=1100000004]
|
||||
stream = ExtResource("11_thx")
|
||||
|
||||
[node name="Ambience" type="AudioStreamPlayer3D" parent="." unique_id=1100000005]
|
||||
stream = ExtResource("12_amb")
|
||||
autoplay = true
|
||||
volume_db = -18.0
|
||||
|
||||
[node name="ComponentSpawn" parent="." unique_id=649225939 instance=ExtResource("9_0tnpc")]
|
||||
|
||||
[node name="EndScreen" parent="." unique_id=993175156 instance=ExtResource("10_endsc")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue