Hello people !
I have been inactive with the game producing for a long time and thought it was time to come back !
On the way i encountered a problem that i also had with my last rts gams:
The midi music !
It seems to lag everytime it changes midi track or in the start of a level.
Do you have any idéas?
No sir, it does that to me too and always has. That lag I hear is the time it takes to load the midi's information so it can play it. Unfortunately it also has a lag between loops as well and almost always cuts off the first note of the song from the 2nd loop onward.
If there's a way to somehow preload these things that might help with your intial lag problems.
--
"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!
I think the only worthwhile solution is to have your music in a different format (even converting a midi file to MP3 even though that goes against the whole idea of Midi) and using a plugin to play it.
It might not be a bad idea to use something like iTunes to convert it to MP3 (Makes it sound better usually) and then use audacity to make it an OGG so you can keep it internal.