Scrolling Game Development Kit Forum

SGDK Version 1 => General Discussion => Topic started by: billybob884 on 2006-01-14, 08:56:44 PM

Title: 'Quit' question
Post by: billybob884 on 2006-01-14, 08:56:44 PM
ok, in order to get the Quit menu option to work, someone suggested to use the switch to map <return to old> function (which works, but now that im using a pause system that uses that remember old map, won't the quit just go to the last place it was paused?
Title: Re: 'Quit' question
Post by: bluemonkmn on 2006-01-15, 08:10:39 AM
It will only return to old map if there is an old map to return to.  And when you return to an old map, it removes the old map from the list of old maps.  So if your pause screen is a map that you jump to, remembering where you were, and you "return" from the pause screen, then yes, it will just go back to the map you were playing on.  But if you "return" from there, then it will quit (unless you had another map in the list before that).  If you need to be able to quit from the pause screen, it should probably return to a specific location on the old map where there is a special function that returns to old map again, thus exiting the game.  (I believe when you "return to old map" you are still allowed to specify a location).  Another possibility is to try activating a series of functions that performs "return to old map" twice in a row.
Title: Re: 'Quit' question
Post by: billybob884 on 2006-01-15, 09:37:03 AM
nah the only place you can choose the option 'quit' from is the title screen, so yea i guess the only time your gonna see that is before you start teh game or after youve completed the whole game and have returned to the menu. heh, didnt think that question through