Playmusic question
BlitzPlus Forums/BlitzPlus Programming/Playmusic question
| ||
Hi there, Am I right in thinking that playing a music file whilst in a game loop isnt going to happen? I have started an mp3 playing using playmusic, and then have entered a backbuffered loop with ONE drawing operation, to draw the mouse pointer. The result i get is like noise. Yes, the music is Definately outside the loop. If i delay the loop, it puts jumps into the track, playing X amount of song before scrambling each time the loop goes round. Suggestions? Thanx null |
| ||
Some Code might help me help you. But if you play the music out side of the main loop PlayMusic MusicHandle While not KeyHit(1) Wend |
| ||
Erm, when I said "in a game loop" I didn't mean actually calling the playmusic command in a loop, that's mad. The issue comes from playing a music file, then entering a game loop in window mode. Make the game full screen, and the problem goes away. Go figure. I have decided to do the game full screen now, as the music plays fine whilst the game is in motion. Thanks Anyway, null |