Looping PLAY statments in background of a game - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html) +--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html) +--- Thread: Looping PLAY statments in background of a game (/thread-4261.html) |
Looping PLAY statments in background of a game - moochthemonkey - 07-06-2004 How do I loop a PLAY statment continulously in the background? I just want to include a battle theme that is looped but I can't get it to work. I've used various thing, such as "MB" in the commandstring X + Varptr$ and even a similar example to the help files ON PLAY example but I can't see to get the game's music to keep on playing unless if I trigger something, like getting attacked by an enemy. Can anyone show me a good(hopefully simple) example to get this to work? Thanks Looping PLAY statments in background of a game - whitetiger0990 - 07-06-2004 depends on how your game is made if it is like Code: DO if it Code: DO ug If you find out tell me so I can teach you =P Looping PLAY statments in background of a game - moochthemonkey - 07-06-2004 No it's not DO...LOOP...Well the game is, except for when it's the character is walking around. Plus you cannot do it like that because the game won't loop while the PLAY statement is going on in the background.. Looping PLAY statments in background of a game - Plasma - 07-06-2004 RTFM Looping PLAY statments in background of a game - moochthemonkey - 07-06-2004 What's RTFM? Looping PLAY statments in background of a game - whitetiger0990 - 07-06-2004 a rude way to say you misread the manuel and should look at it -.- "read the banana manuel" Looping PLAY statments in background of a game - moochthemonkey - 07-06-2004 Oh, so in other words "READ THE F****** MANUEL" ? Looping PLAY statments in background of a game - na_th_an - 07-06-2004 Manuel is a very common name in Spanish. I think you both mean "manual". Looping PLAY statments in background of a game - whitetiger0990 - 07-06-2004 Quote:Manuel is a very common name in Spanish. I think you both mean "manual". uh sure thats what we meant *hopes nath hasn't figured out the secret plans to take over the world* =P Looping PLAY statments in background of a game - oracle - 07-08-2004 @Offensive Screenname: Remove some of those smileys from your sig, that's sorta annoying The word "RTFM" in Plasma's post is a link to a possible answer for you, try clicking on it. And guys, this is the newbie forum, RTFMing someone new to this shouldn't really be done here. |