The Daily Click ::. Forums ::. Klik Coding Help ::. Remembering music with dmc2 or another extension
 

Post Reply  Post Oekaki 
 

Posted By Message

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
6th September, 2003 at 11:29:13 -

does anybody know if it is possible for a mod or midi to play in the background then the game moves to another frame and plays a different mod but the position of the first mod is remembered so it can be continued later.

as in some rpgs

field-battle-field see what i mean?

i have tgf and have used dmc2 object a little

 
.

Metal Maiden



Registered
  10/09/2002
Points
  900
6th September, 2003 at 15:40:30 -

I was just thinking how cool that'd be.

 
Death in the air
Strapped in the electric chair
This can't be happening to me
Who made you God to say
"I'll take your life from you!!"

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
6th September, 2003 at 17:13:24 -

Use a counter, global value, whatever you like, and set it to the "ModulePosOrder("DMC2 Object")" (or whatever you called it).

To restore the position of the music, set the ModulePos of the DMC2 object to the value you saved earlier.

 
http://www.davidn.co.nr - Games, music, living in America

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
6th September, 2003 at 18:49:45 -

thanks!
ill try it later bcause cant be bothered at the moment

 
.

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
7th September, 2003 at 08:10:37 -

I have a similar question.
How do you play a music over the frames, so that it doesn't start again when you go the next level?

 
http://soundcloud.com/normbo - Listen to my music.

Rycon



Registered
  20/09/2002
Points
  996
7th September, 2003 at 17:20:04 -

You gotta stop the song, or END the bass at end of level. Try and always end the bass when you exit the game.

 
We are the music makers, we are the dreamers of dreams...

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
7th September, 2003 at 18:17:23 -

Noodle: I tried to get it working for a while with a "Help" section that took up several frames... the best I got was this.

Create a blank frame that sets up and plays the MOD (looping), then immediately goes to the first Help frame.

During the Help frames, leave the DMC2 Object alone so that it keeps playing. When a Quit button is pressed, that's the time to CloseModule and End BASS().

 
http://www.davidn.co.nr - Games, music, living in America

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
8th September, 2003 at 13:57:06 -

But how would you do that for a midi???

 
http://soundcloud.com/normbo - Listen to my music.

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
8th September, 2003 at 14:41:54 -

For MIDIs, use the MCI object as per this example: http://www.clickteam.com/CTforum/showthreaded.php3?Cat=&Board=fac&Number=124486&Search=true&Forum=fac&Words=MIDI%20MCI&Match=And&Searchpage=0&Limit=25&Old=allposts&Main=124486

 
n/a
   

Post Reply



 



Advertisement

Worth A Click