The Daily Click ::. Forums ::. Klik Coding Help ::. Keep that music a playin'!
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
22nd August, 2007 at 16:49:26 -

Yep, I'm wanting two levels/frames to share the same music. As in I don't want the music to stop at the end of frame 1 and then start again on frame 2 - I want it to just keep on going. I THINK this can be done... right?

 
Image

Tell 'em Babs is 'ere...

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
22nd August, 2007 at 16:56:00 -

Yeah, click the application/frame properties and select "Allow samples across frames"

Or something like that anyways, its easy to find.

 
http://www.SilverNova.co.uk


-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
22nd August, 2007 at 17:04:40 -

I thought it was something like that as I was sure I had seen it before somewhere. I've tried searchign for it under the properties but had no luck. I'm using MMF2 btw.

Edit: Oh, I found it, but it comes under the games properties. Does this mean that I will have to stop music from playing at the start of each level that I don't want it on?

Image Edited by the Author.

 
Image

Tell 'em Babs is 'ere...

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
22nd August, 2007 at 17:39:23 -

Instead of "on start of frame", use "<specific?> music not playing" to regulate playing music. It'll give the advantage of using cross-frame music techniques, but also restarts the music when you turned it off and back on with ctrl+M.

 
Old member (~2004-2007).

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
23rd August, 2007 at 13:40:38 -


Originally Posted by DaVince [Ectoprods]
Instead of "on start of frame", use "<specific?> music not playing" to regulate playing music. It'll give the advantage of using cross-frame music techniques, but also restarts the music when you turned it off and back on with ctrl+M.



Without music playing over the frame, MMF ticks music off at the end of the frame. If you turn this on, the music will play over to the next frame. If you want to avoid this, just make an event on the frame "End of Frame- Stop Music"

What DaVince was saying though, was a little different. Because of the music playing over the frame, if you start playing a new song at the start of the next level, if you have Play Multiple Samples on, then both the song from the previous frame, and the song you just started, will start playing.

Songs from previous frames can still be effected by events. You can stop music from previous frames, you can check to see if it's already playing, etc.

 
http://www.facebook.com/truediamondgame

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
23rd August, 2007 at 19:59:07 -

What I'm doing is I have one global variable called CURRENTMUSIC. The project allows music across frames too.

At the start of the game, I set CURRENTMUSIC to 0. Then, each frame has an event like this:

Start of Frame
+ CURRENTMUSIC <> 1 Then
-> CURRENTMUSIC = 1
-> Play "Castle Entrance Music" 0 times


So what you can do is have, say, 6 frames that are supposed to be one area that have the "1" music. When you're in one of these rooms and go into another room in the area with the same music, nothing will happen and the music will keep on going. But when you enter a new area that has, say, "2" music, then the music will change until you enter another area.

It works really well.





 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!
   

Post Reply



 



Advertisement

Worth A Click