Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: bluemonkmn 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).
-
you should make this a sticky
-
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 (http://www.geocities.com/pivot_stick/game.zip)
-
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.
-
Thanks a ton. :)