The Daily Click ::. Forums ::. Klik Coding Help ::. MIDIs lag my game like crazy.
 

Post Reply  Post Oekaki 
 

Posted By Message

Matt [cash money klikaz]



Registered
  10/07/2002
Points
  289
8th August, 2006 at 20:11:21 -

Using TGF, when I have an event start a MIDI, the game visibly freezes for about half a second.. I've tried starting the MIDI at different times but it always happens.

Thoughts?

 
cash money klikers

WHAT WHAT

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
8th August, 2006 at 20:19:11 -

TGF/MMF1.5 load midi's on call, they don't preload them. So this will happen, MMF2 fixes this with pre-loading midi files (if you choose the option to do so).

 
http://www.facebook.com/truediamondgame

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th August, 2006 at 21:39:28 -

If there is any Extension that can play midi's you might be in luck. Otherwise i'm afraid we all have this problem with TGF and MMF.

However i use Mods which don't seem to lag (which require an Extension)

 
.

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
8th August, 2006 at 23:59:45 -

This is exactly the same question I asked when I made my first post here I think, about the pause between MIDI loops. One way you can make it less noticable is to make your MIDI's ending fade out a bit, like a cymbal crash that extends along with a fading bass note. You'll have a pause still, sure, but it won't sound like the choppy one that TGF / MMF makes when playing a midi- it'll sound like you meant to write it that way

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
9th August, 2006 at 08:35:32 -

You could use the MCI object to play midis. The game won't freeze between loops. I forgot how it works though. I think Tigerworks made an example really long ago. Just google or something.

 
This space is for rent
   

Post Reply



 



Advertisement

Worth A Click