Scrolling Game Development Kit Forum

SGDK Version 1 => Help/FAQ => Topic started by: guildhallC4 on 2005-03-16, 05:07:15 PM

Title: Reload Saved game and background music does not play
Post by: guildhallC4 on 2005-03-16, 05:07:15 PM
I'm using a save special function at certain checkpoints in my game. When the player dies, the game switches you to a separate map, which asks if you want to continue or quit. If you continue, it reloads the last save. Everything works beautifully, except that when the game is reloaded, the background music no longer plays. Am I doing something wrong, or is this just the way it works? Any suggestions on ways around it?
Title: Background Music After Load
Post by: bluemonkmn on 2005-03-16, 06:35:37 PM
Background music is triggered when switching to a map.  Apparently the current design doesn't see loading a game as switching to a map but just picking up where you left off.  There are a couple ways around this:


I recommend the second solution -- it's cleaner and more powerful I think.
Title: Reload Saved game and background music does not play
Post by: Eastfist on 2005-03-17, 10:17:13 PM
I encountered the same thing when I was developing my game, The Project. I just slapped a disposable special function with an assigned media clip at the beginning of each map. It worked for me.