Midi lag

Started by Alynn, Wed 24/12/2003 14:44:29

Previous topic - Next topic

Alynn

All of my music is midi, and it plays and does everything it is supposed to with no problems, except when Display or DisplayMessage is used, then you can here a difinate lag in the midis.

I'm running 2.6 on a P4 2GHz, at 16-bit color 320X240, I even double checked and removed all the old plugins I was thinking about using (Snowrain and flashlight) and it still lags.

The room itself has 16 hotspots 3 and 3 objects.

Maybe I just have too much in the room (although in other rooms I notice the lag there too which has much less).

Thanks.


PS In addition, what the hell is the escape character to use quotes in a string? I used any and everything I have ever used in coding and nothing worked, I RTFM and didn't find it either (may have been looking in the wrong place). Anyway thanks again.

Pumaman

Does this only affect your game, or does it also happen in other AGS games? I've never noticed anything like this myself.

QuotePS In addition, what the hell is the escape character to use quotes in a string? I used any and everything I have ever used in coding and nothing worked, I RTFM and didn't find it either (may have been looking in the wrong place). Anyway thanks again.

You have to escape it with \ so you could do:

Display("He says \"Hello\".");

Alynn

I havent used any games on my home computer I only download them at work... I'll dl 5 days a stranger and see if it does it there too...

hrm... odd... I did that  with the escape char and it didnt work before... unless I did a forward slash twice...

Need..... more ....... coffee........

Alynn

Just doing a new post incase someone looked before I could report back...

I didn't notice it at all in 5days... maybe its just my game....

Has anyone else had this problem before?

Alynn

in addition... there is major lag in the engine and the midi's when I'm using dialogs, and anytime the default load/save/quit popups come up...

Could my midi's be causing this? They are origionals by me, made in anvil studio... I'm getting frustrated. Please can anyone help. I even tried playing the game stand alone (not test mode) and it still lagged...

I'm at the end of my rope... I'm going to cry...

Actually if anyone can give me a few more games that use midi's for their music could they let me know. Thanks.

Pumaman

It might be your MIDIs - try download a random midi from the net, and replace one of yours with it - see if it still lags. If not, it must be a specific problem with your MIDI files.

Alynn

No that's not it :(

I used my midi's I downloaded (forest gump theme, edward scissor hands theme, 20th centery fox theme) and they lag too :(... In fact the edward scissor hands one seems to speed up (which is comical but not in a good way)...

I even went into the properties and changed the midi player, lowered the resolution (even though the default is 320X240 I play it at 640X480, because the text looks better), Even turned off antialiasing on my scaling sprites, nothing works...

I'm out of ideas, I'll just deal with it for now, go back to doing artwork, I need to finish the opening... Hopefully it will rectify itself by the time it gets released.

SMF spam blocked by CleanTalk