Delaying Main loop and Timer until media is loaded
BlitzMax Forums/BlitzMax Beginners Area/Delaying Main loop and Timer until media is loaded
| ||
I'm noticing timing issues with my intro screen because the intro screen starts while the ogg tune is still loading. How can I get around this? Would it be best not to incbin ogg music? Thanks :) |
| ||
It doesn't matter if you incbin it or not. It's just that the oggloader insn't that fast. I don't know how your intro is presented, but 1. Load the ogg tune 2. Load all media 3. Create Window 4. Playsound + DrawImages |
| ||
My game framework loads music and plays it yet there is no clash. Weird, are you starting the timer BEFORE the ogg has loaded or something? See when I load an .ogg as a sample, it waits until that is done before program execution commences. |