YesNoOk
avatar

Fix sound on intro  (Read 189 times)

Started by GoldingCircle, November 02, 2011, 11:07:16 pm
Share this topic:
Fix sound on intro
#1  November 02, 2011, 11:07:16 pm
  • **
  • "GrayCircle will once be the greatest warrior"
    • i.imgur.com/MdGQY.gif
On the intro.def, I have this sound that does not pay on the game intro;
Code:
[Scene 0]
fadein.time = 100
fadein.col = 255,255,255
fadeout.time = 0
fadeout.col = 255,255,255
clearcolor = 0,0,0
layerall.pos = 100,160
layer1.anim = 4
bg.name = BG0
bgm =strongandstrike.mp3
bgm.loop = 1
end.time = 426
The sound is working but not playing on the game intro. What is wrong?
"GrayCircle will surpass ever hero one day!"

My Local Name: Fighting Toys Freak.
Re: Fix sound on intro
#2  November 02, 2011, 11:13:20 pm
  • ***
fix this

bgm =strongandstrike.mp3  to bgm =sounds/strongandstrike.mp3
Re: Fix sound on intro
#3  November 03, 2011, 02:23:10 am
  • ****
  • English fluency I am swear!
    • Canada
I thought it doesn't work if the sound is in a different folder.

Doesn't the sound file need to be in the same folder as the storyboard file?
Quote
And "Reality" is unveiled.
What did it want . . .
What did it see . . .
What did it hear . . .
What did it think . . .
What did it do . . .
Re: Fix sound on intro
#4  November 03, 2011, 03:45:46 am
  • ***
I thought it doesn't work if the sound is in a different folder.

Doesn't the sound file need to be in the same folder as the storyboard file?

no you can place it in the sounds folder, but if you want to keep it all together than put data/sound.mp3 since this is where you normally put the intro
Re: Fix sound on intro
#5  November 03, 2011, 03:59:06 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
It all depends where your files are located.

I simply have my "intro.def/intro.sff" located in the main folder where everything is such as "data" "sounds" ect. I also have my music for the intro in there too. (i recommend .ogg than .mp3) So my "intro.def" would look something like this...

-----------------------------------------------------------------
[SceneDef]
spr = intro.sff
startscene = 0

;------------------------------------
[Scene 0]
bgm = [name of song].ogg
bgm.loop = 0
fadin.time = 0
fadout.time = 0
clearcolor = 0, 0, 0
layerall.pos = 0, 0
layer0.offset = 0, 0
layer0.anim = 0
layer0.starttime = 0
end.time = 3250

-----------------------------------------------------------------
(what is in red is important)

It should work.

YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)