This commit is contained in:
Adam
2014-03-14 01:50:37 +01:00
parent 9a2bdf8c11
commit 72c06231ad
27 changed files with 1368 additions and 7 deletions
+2 -2
View File
@@ -108,12 +108,12 @@ void GameWorld::Initialize()
bounds->VolumeVector = glm::vec3(4.f, 0.7f, 1);
soundEmitter = AddComponent<Components::SoundEmitter>(m_Player, "SoundEmitter");
soundEmitter->Loop = true;
//soundEmitter->MaxDistance = FLT_MAX;
//soundEmitter->MaxDistance = 10;
soundEmitter->ReferenceDistance = 10;
soundEmitter->Gain = 1;
soundEmitter->Pitch = 1;
soundEmitter->Path = "Sounds/hallelujah.wav";
GetSystem<Systems::SoundSystem>("SoundSystem")->PlaySound(soundEmitter);
//GetSystem<Systems::SoundSystem>("SoundSystem")->PlaySound(soundEmitter);