The Daily Click ::. Forums ::. Klik Coding Help ::. mp3 into TGF
 

Post Reply  Post Oekaki 
 

Posted By Message

Vampire Reaper



Registered
  08/02/2004
Points
  213
8th March, 2004 at 08:32:57 -

Does anyone know an extension to play mp3 on the games factory? (non DMC2...it doesn't work and i don't know why...)

Thanks, everyone who will help me will be in the ending credits of the game (castlevania x: twilight of heaven) thanx

 

Jigen



Registered
  12/12/2002
Points
  142
8th March, 2004 at 08:53:57 -

First create a MCI object.
Then put MCI objects setups like this:

Device name:
sequencer

pause command:
pause

resume command:
play

those other things you leave blank.

Then make the events like this:
Start of level ---> Send "stop music"
Send "close music"
Send "open %drive%%dir%filename.mp3 alias music"
Send "play music"
And this you shouldn´t forget:
End of the game --> Send "stop music"
Send "close music"

That should do it.
And remember to put the file in same folder where your
gamefile is.

 
AKA. Indiana Jones
Join to my forums.
http://s4.invisionfree.com/DOF_Creations/index.php?act=site

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th March, 2004 at 18:15:04 -

All you need is 2 events for dmc2

start of level - open stream (file=nameoffile.mp3)
start of level - play stream (looping = 0)

(i can see you've probably tried this)

 
.

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
8th March, 2004 at 18:21:32 -

There are two possible problems that I can think of if you're using the DMC 2 object.
#1: You forgot to to the Intialize Bass event (or something like that name)
#2: You're missing bass.dll

 
http://www.klik-me.com
   

Post Reply



 



Advertisement

Worth A Click