Qbasicnews.com

Full Version: Looping PLAY statments in background of a game
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
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
depends on how your game is made
if it is like

Code:
DO
'game stuff
LOOP
then it's simple (I think)
if it
Code:
DO
'wait for trigger
LOOP
then it's harder

ug If you find out tell me so I can teach you =P
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..
What's RTFM?
a rude way to say you misread the manuel and should look at it -.-

"read the banana manuel"
Oh, so in other words "READ THE F****** MANUEL" ?
Manuel is a very common name in Spanish. I think you both mean "manual".
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* [Image: shifty.gif]

=P
@Offensive Screenname: Remove some of those smileys from your sig, that's sorta annoying Wink

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.
Pages: 1 2 3 4 5 6 7