Author Topic: Tip: How to make your maps switch quickly  (Read 5805 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2752
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Tip: How to make your maps switch quickly
« on: 2005-07-19, 06:32:10 AM »
:idea: Map switches can be slow if you have background music playing because it takes a while to fade out.  Here's a tip on how to speed it up.
1) Make sure two functions are activating during your map switch
2) Make sure the background music is set to allow restart/interrupt
3) Create a very short sound (as short as you want your map transition to be)
4) On the Media Clips dialog, set the media clip action on the first of the two functions to be "change music" and select the short sound
5) Set the media clip action on the second of the two functions to be "Play clip" and select the map's background music clip (the background music for the map where the function resides).

billybob884

  • Contributor
  • Fanatic
  • **
  • Posts: 355
  • ChameleonMan Progress: DONE!
    • MSN Messenger - billybob884@hotmail.com
    • AOL Instant Messenger - billybob884
    • View Profile
    • Email
Tip: How to make your maps switch quickly
« Reply #1 on: 2005-07-19, 09:12:17 AM »
you should make this a sticky
-- Mike "billybob884" McDermott

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." :: Hitchhiker's Guide to the Galaxy

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Tip: How to make your maps switch quickly
« Reply #2 on: 2006-12-29, 11:45:26 AM »
I'm working on a game with some background music I made. When the player falls in an acid pit it activates a die function which resets the map (Switch to new map). I've been fiddling around with this for quite a while trying to make it switch quickly. Could somebody please tell me what I'm doing wrong?
Game Project: http://www.geocities.com/pivot_stick/game.zip

eric22222

  • Fanatic
  • ***
  • Posts: 177
    • View Profile
    • Eric Online
    • Email
Re: Tip: How to make your maps switch quickly
« Reply #3 on: 2006-12-29, 12:44:29 PM »
Got it figured out: you need to make sure that function die1 doesn't do anything. As in, don't make that first one switch to the map. Just set it to raise an event, or something. Anything that won't have an effect on the game.

sam

  • Fanatic
  • ***
  • Posts: 303
  • This statement is false.
    • MSN Messenger - samlancashire@hotmail.com
    • View Profile
    • samlancashire.com
    • Email
Re: Tip: How to make your maps switch quickly
« Reply #4 on: 2006-12-29, 01:50:47 PM »
Thanks a ton.  :)