Harry
Member
|
[Solved] 3d sound in music theme
Can I play MusicTheme as 3d sounds?
(This post was last modified: 02-14-2011 11:24 AM by Harry.)
|
|
10-31-2009 11:38 AM |
|
Esenthel
Administrator
|
RE: 3d sound in music theme
you can't, you must use Sound or SoundPlay/PlaySound (dont remember which one) for 3d sounds
|
|
10-31-2009 02:02 PM |
|
Harry
Member
|
RE: 3d sound in music theme
I've got this code:
Code:
Init
if(mt_radio0=MusicThemeNew()) // create mt_radio1 theme
{
*mt_radio0+="sfx/Radio/Cascada - Fever.ogg";
}
if(mt_radio2=MusicThemeNew()) // create mt_radio2 theme
{
*mt_radio2+="sfx/Radio/Saragossa Band - Agadou.ogg";
}
Code:
update
if(radioNumber==2 && !radioPlaying)
{
radioName="FF Radio";
sound.play("sfx/Radio/Cascada - Fever.ogg",radioPos,2,true);
radioPlaying=true;
}
Why when I delete line sound.play(...); and add Music.play(mt_radio0) I don't hear anything?
|
|
10-31-2009 03:21 PM |
|
Esenthel
Administrator
|
RE: 3d sound in music theme
where do you place "Music.play(mt_radio0)" ?
try doing it in a simple project (no game, just music), you can use music tutorials for testing.
|
|
10-31-2009 03:27 PM |
|
Harry
Member
|
RE: 3d sound in music theme
I place it instead of sound.play
|
|
10-31-2009 03:31 PM |
|