Scrolling Game Development Kit Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Scrolling Game Development Kit Forum
»
SGDK Version 1
»
Help/FAQ
»
Tip: How to make your maps switch quickly
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tip: How to make your maps switch quickly (Read 13590 times)
bluemonkmn
SGDK Author
Administrator
Fanatic
Posts: 2761
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).
Logged
Ben Marty
Scrolling Game Development Kit 2
billybob884
Contributor
Fanatic
Posts: 355
Tip: How to make your maps switch quickly
«
Reply #1 on:
2005-07-19, 09:12:17 AM »
you should make this a sticky
Logged
"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.
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
Logged
eric22222
Fanatic
Posts: 177
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.
Logged
sam
Fanatic
Posts: 303
This statement is false.
Re: Tip: How to make your maps switch quickly
«
Reply #4 on:
2006-12-29, 01:50:47 PM »
Thanks a ton.
Logged
Print
Pages: [
1
]
« previous
next »
Scrolling Game Development Kit Forum
»
SGDK Version 1
»
Help/FAQ
»
Tip: How to make your maps switch quickly