The Daily Click ::. Forums ::. Klik Coding Help ::. MIDI help
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
6th October, 2005 at 07:49:31 -

Im useing midi and I can'y seam to get the midi to kep playing though the frames could you help me!

 

kjarom



Registered
  08/06/2004
Points
  805
6th October, 2005 at 09:57:35 -

Unfortunately, Fluffy_Kitten, midis will not play through the frames naturally.

I DO have a solution, however...

1. Download the DMC2 extension (http://click.spatang.com/ext/show.php?limitcnc=yup)

2. After putting the DMC2 extension in your C:\Program Files\GFactory folder, go to your game.

3. Go to the level you want the music to start it.

4. Click on the New Object button, click on the Extensions tab, and click on DMC2. (If it's not there, you did something wrong...)

5. After placing the DMC2 object somewhere outside the play area, go to the level events.

6. The code should be like this:
START OF LEVEL:
Initialize Bass
OpenStream (the place where your midi is, haha in your case probably something like C:\Program Files\Gfactory\Midis\Jingles\soldier.MID or whatever your midi is called)
PlayStream (1 or however many times)

7. NOW go to the last level in the game. Go to the events, and the code should be like this:
END OF LEVEL:
Terminate Bass


Any questions, just post back.

Image Edited by the Author.

 
You now rockin wit a pro

kjarom



Registered
  08/06/2004
Points
  805
6th October, 2005 at 13:58:20 -

Ooh I never knew TGF could do that!

 
You now rockin wit a pro

kjarom



Registered
  08/06/2004
Points
  805
6th October, 2005 at 14:03:28 -

Wait...it doesn't. In fact, there is no properties tab at all, Phizzy...

 
You now rockin wit a pro

kjarom



Registered
  08/06/2004
Points
  805
6th October, 2005 at 14:13:26 -

Well I assumed he meant TGF, judging by the quality of his previous three games.

 
You now rockin wit a pro

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
6th October, 2005 at 14:21:39 -

Shot down!

 
http://soundcloud.com/normbo - Listen to my music.

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6949

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
6th October, 2005 at 17:21:09 -

What does TGF have to do with low quality?

 
www.hayovanreek.nl

Mr Icekirby



Registered
  18/12/2003
Points
  846
6th October, 2005 at 21:17:12 -

C++ is more powerful than MMF and TGF, it's also easier to make low quality games.

Play samples over frames only works for samples, waveform sounds. Not MIDI.

 
Mr Icekirby says so!
OBEY ME!

kjarom



Registered
  08/06/2004
Points
  805
7th October, 2005 at 22:32:29 -

Coconut Hayo, TGF has nothing to do with low quality. A couple of Fluffy_Kittens first games were very low in quality, which is where I based my comment off of.

 
You now rockin wit a pro

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
8th October, 2005 at 07:52:54 -

Multimedia Fusion plays Midi's over frames by default. Use "No music is playing" and then play the Midi and it'll work.

 
a/n

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th October, 2005 at 13:36:47 -

Does Dmc2 play midi? I'm sure i asked how to once and people said that it doesn't need to because TGF has that built in.
It's nice to get a good answer isn't it?

Anyway TGF can play midi over frames via MCI object or DMC2 object (it seems). Get DMC2 object because not many people can help with MCI and it's slightly more complex to use.

 
.

kjarom



Registered
  08/06/2004
Points
  805
10th October, 2005 at 08:47:23 -

How would you use the MCI object?

(And it's a default extension object, isn't it?)

 
You now rockin wit a pro

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
10th October, 2005 at 19:36:58 -

Yes it's a default object, but Ive never used it. Tigerworks can help you out here however.

 
.

kjarom



Registered
  08/06/2004
Points
  805
11th October, 2005 at 09:52:44 -

Ah ok, I suppose I'll ask him then; thanks!

 
You now rockin wit a pro

Mr Icekirby



Registered
  18/12/2003
Points
  846
11th October, 2005 at 21:24:08 -

If you want to use DMC2 then use modules. They are better than midi but larger in filesize. Its kinda hard not to get a bigger file though.

 
Mr Icekirby says so!
OBEY ME!
   

Post Reply



 



Advertisement

Worth A Click