overworld tweaks, moved unused bgm oggs to refuse folder. Added ambient proximity sounds to Overworld, created neccessary Audio Buses, added ambient sound to Altar.
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ddii3pi8x75xc"
|
||||
path="res://.godot/imported/amb_beach.wav-046e4f838e50e43a1aba1a754b92aad6.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/AMB/amb_beach.wav"
|
||||
dest_files=["res://.godot/imported/amb_beach.wav-046e4f838e50e43a1aba1a754b92aad6.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=3
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ym4ur8a2qxhp"
|
||||
path="res://.godot/imported/amb_perlin.wav-ba6da0d5591f392e4aca7d2f85c4dfc2.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/AMB/amb_perlin.wav"
|
||||
dest_files=["res://.godot/imported/amb_perlin.wav-ba6da0d5591f392e4aca7d2f85c4dfc2.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=3
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b7wxddjx3qw5o"
|
||||
path="res://.godot/imported/amb_white_noise.wav-d316dd05afe429f6bcdda594285ad718.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/AMB/amb_white_noise.wav"
|
||||
dest_files=["res://.godot/imported/amb_white_noise.wav-d316dd05afe429f6bcdda594285ad718.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=3
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bmiitw4fcs68e"
|
||||
path="res://.godot/imported/amb_wind_loop_altar.wav-e766e3db29faa01ad6dbaa8cb18d7de6.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/AMB/amb_wind_loop_altar.wav"
|
||||
dest_files=["res://.godot/imported/amb_wind_loop_altar.wav-e766e3db29faa01ad6dbaa8cb18d7de6.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=3
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
@@ -12,19 +12,19 @@ public partial class AudioManager : Node
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_audioPlayer = new AudioStreamPlayer();
|
||||
AddChild(_audioPlayer);
|
||||
_sfxDictionary = new Dictionary<SoundEffect, AudioStream>();
|
||||
var soundEffects = Enum.GetValues(typeof(SoundEffect));
|
||||
foreach (var effect in soundEffects)
|
||||
_sfxDictionary.Add((SoundEffect)effect, GD.Load<AudioStream>(sfxPath + effect + ".ogg"));
|
||||
_audioPlayer = new AudioStreamPlayer();
|
||||
AddChild(_audioPlayer);
|
||||
_sfxDictionary = new Dictionary<SoundEffect, AudioStream>();
|
||||
var soundEffects = Enum.GetValues(typeof(SoundEffect));
|
||||
foreach (var effect in soundEffects)
|
||||
_sfxDictionary.Add((SoundEffect)effect, GD.Load<AudioStream>(sfxPath + effect + ".ogg"));
|
||||
}
|
||||
|
||||
public void Play(SoundEffect soundEffect)
|
||||
{
|
||||
_sfxDictionary.TryGetValue(soundEffect, out var stream);
|
||||
_audioPlayer.Stream = stream;
|
||||
_audioPlayer.Play();
|
||||
_sfxDictionary.TryGetValue(soundEffect, out var stream);
|
||||
_audioPlayer.Stream = stream;
|
||||
_audioPlayer.Play();
|
||||
}
|
||||
}
|
||||
public enum SoundEffect
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Godot;
|
||||
using Godot;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Zennysoft.Game.Implementation;
|
||||
@@ -13,16 +13,16 @@ public partial class BGMPlayer : DimmableAudioStreamPlayer
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_bgmDictionary = new Dictionary<BackgroundMusic, AudioStream>();
|
||||
var backgroundMusic = Enum.GetValues(typeof(BackgroundMusic));
|
||||
foreach (var bgm in backgroundMusic)
|
||||
_bgmDictionary.Add((BackgroundMusic)bgm, GD.Load<AudioStream>(_bgmPath + bgm + ".ogg"));
|
||||
_bgmDictionary = new Dictionary<BackgroundMusic, AudioStream>();
|
||||
var backgroundMusic = Enum.GetValues(typeof(BackgroundMusic));
|
||||
foreach (var bgm in backgroundMusic)
|
||||
_bgmDictionary.Add((BackgroundMusic)bgm, GD.Load<AudioStream>(_bgmPath + bgm + ".ogg"));
|
||||
}
|
||||
|
||||
public void Play(BackgroundMusic backgroundMusic)
|
||||
{
|
||||
_bgmDictionary.TryGetValue(backgroundMusic, out var stream);
|
||||
Stream = stream;
|
||||
FadeIn();
|
||||
_bgmDictionary.TryGetValue(backgroundMusic, out var stream);
|
||||
Stream = stream;
|
||||
FadeIn();
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://hmx3puq627vt"
|
||||
path="res://.godot/imported/CrossingTheGate.ogg-dfd4ce3206d9ee6b0a1f1da97040ab2c.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/bgm/CrossingTheGate.ogg"
|
||||
dest_files=["res://.godot/imported/CrossingTheGate.ogg-dfd4ce3206d9ee6b0a1f1da97040ab2c.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://4e3nl0kd2vi8"
|
||||
path="res://.godot/imported/Droney.ogg-0f41265ddc94509ffa7f651092b5fcf7.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/bgm/Droney.ogg"
|
||||
dest_files=["res://.godot/imported/Droney.ogg-0f41265ddc94509ffa7f651092b5fcf7.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://8srjhvr3ktjv"
|
||||
path="res://.godot/imported/TarWinds.ogg-c17a89e4c879691e6b1fd2ddb5c001cf.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/bgm/TarWinds.ogg"
|
||||
dest_files=["res://.godot/imported/TarWinds.ogg-c17a89e4c879691e6b1fd2ddb5c001cf.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://8fvgiyyje2px"
|
||||
path="res://.godot/imported/UselessImmuneSystem.ogg-7d06f59d898dd1f07c1a3559cd1d8f52.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/audio/bgm/UselessImmuneSystem.ogg"
|
||||
dest_files=["res://.godot/imported/UselessImmuneSystem.ogg-7d06f59d898dd1f07c1a3559cd1d8f52.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Reference in New Issue
Block a user