Author Topic: changing music clips with special functions  (Read 6076 times)

iluvcat

  • Visitor
  • *
  • Posts: 6
    • Yahoo Instant Messenger - iluvcat69
    • View Profile
    • http://www.mauinteractive.com
    • Email
changing music clips with special functions
« on: 2005-03-23, 09:41:56 PM »
Hey guys!,
         I have teleports in my game that take me to 3 places on my map. I want to designate 3 music clips that will play as background music or at least play relative to these sections of the map. Can it be done and how. I have set up some clips with functions to stop and start each clip but doesnt work.  Here are the samples I tried:



http://www.mauinteractive.com/tech_ques/sound_prob.rtf

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
RE: Changing Music
« Reply #1 on: 2005-03-23, 10:25:22 PM »
OK, here's what you do:


First of all, stop uploading huge documents that take half an hour to download on a modem.  Just describe what you've done.

And you know what, since even the size of the entirety of GameDev is less than the document, it would be smaller to download a full installation of the game with dummy sounds.  Even better yet would be to just upload the .GDP file.

Okay, so now... define each music clip, then switch over to the Assign Media tab, and choose the map you are working with.  Then, choose the function that activates, and choose the music you want to play in the "Change Background Music" dropdown list.

If that's what you already did and it shows that in the rtf file, sorry.  I didn't download it.  Make sure you are saving it and the functions aren't automatically activating another funciton that changes the music back.  For refference, see the tutorial.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
changing music clips with special functions
« Reply #2 on: 2005-03-24, 07:00:17 AM »
Basically I think you just need to use change music commands instead of play/stop clip commands and things will work out better for you.  Change music is right below start/stop clip.