Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looping PLAY statments in background of a game
#1
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
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#2
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
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#3
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..
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#4
RTFM
Reply
#5
What's RTFM?
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#6
a rude way to say you misread the manuel and should look at it -.-

"read the banana manuel"
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#7
Oh, so in other words "READ THE F****** MANUEL" ?
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#8
Manuel is a very common name in Spanish. I think you both mean "manual".
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#9
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
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#10
@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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)