Sound off, er, on!
Turns out the REORGVARs mystery was related to a sound library I do not use. So, I don't THINK I need to worry about it anymore. back to having plenty of memory free!
My work today mainly consisted of playing with sound. In my previous posts I realised I can only play one digital sound at a time. I attempted to fix this by duplicating the sound effect routine and hoping it would magically allow simultaneous sounds. No go. So, I'm left with two options:
A. Come up with a complicated sound effect queue so each sound gets it's turn in line or
B. Add the other sound effects run time to the delay. So, the next sound effect will always start playing after the current one.
Plan B looks good but it ALWAYS cuts off the other sound effect initially. After the first interruption it always plays nice with the other repeating sound.
I also started to successfully import .MOD music files into my current music engine. This is a huge step as previously the MOD file would import but the instruments wouldn't play. And, yes, previously I did attempt to manually assign instruments with no good result.
So, stuff to think about includes sound queues and how to implement objects. You know: stuff that consists of sprites and x/y positions and collisions. I really need to put out another demo. I did not accomplish this weekend. Need to see if I can manage things better.
Until next time!
4 Comments
Recommended Comments