Audio system rework
This commit is contained in:
parent
96f92757b5
commit
347a990421
21 changed files with 173 additions and 29 deletions
10
audio/audio_system/team_amplified_audio.gd
Normal file
10
audio/audio_system/team_amplified_audio.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends MultiplayerAudio3D
|
||||
|
||||
class_name TeamAmplifiedAudio3D
|
||||
|
||||
@export var team_target: Player
|
||||
@export var team_linear: float = 0.5
|
||||
|
||||
func _ready() -> void:
|
||||
if Lobby.get_team() == team_target.team:
|
||||
volume_linear = team_linear
|
||||
1
audio/audio_system/team_amplified_audio.gd.uid
Normal file
1
audio/audio_system/team_amplified_audio.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://yrc6t1s7mq3t
|
||||
BIN
audio/molik_bounce.ogg
Normal file
BIN
audio/molik_bounce.ogg
Normal file
Binary file not shown.
19
audio/molik_bounce.ogg.import
Normal file
19
audio/molik_bounce.ogg.import
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dm52cfih0gboj"
|
||||
path="res://.godot/imported/molik_bounce.ogg-aa3b6e68593aa25f430f81d390ff36ef.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/molik_bounce.ogg"
|
||||
dest_files=["res://.godot/imported/molik_bounce.ogg-aa3b6e68593aa25f430f81d390ff36ef.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
audio/molik_idle.ogg
Normal file
BIN
audio/molik_idle.ogg
Normal file
Binary file not shown.
19
audio/molik_idle.ogg.import
Normal file
19
audio/molik_idle.ogg.import
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://blnblkd6eoldv"
|
||||
path="res://.godot/imported/molik_idle.ogg-1e8be0eb94ed1a5eb01a085fbd3131be.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/molik_idle.ogg"
|
||||
dest_files=["res://.godot/imported/molik_idle.ogg-1e8be0eb94ed1a5eb01a085fbd3131be.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
audio/molik_land.ogg
Normal file
BIN
audio/molik_land.ogg
Normal file
Binary file not shown.
19
audio/molik_land.ogg.import
Normal file
19
audio/molik_land.ogg.import
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://b7sxkxs7vn4d"
|
||||
path="res://.godot/imported/molik_land.ogg-f7c5f2a0a159fabcc0b4588fc8a2a694.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://audio/molik_land.ogg"
|
||||
dest_files=["res://.godot/imported/molik_land.ogg-f7c5f2a0a159fabcc0b4588fc8a2a694.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
audio/shoot.ogg
BIN
audio/shoot.ogg
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue