Page 1 of 1

Need explaination on layout

Posted: Sat Jul 09, 2016 2:09 am
by pratomoastan
Whats the diffrence between this layout then other layout ?
layout.LOADING
when it will be shown ?
i mistaken this layout as a 'NOW LOADING' screen ><

I Already Read The Documentation

Code: Select all

layout.ARE_YOU_SURE - "Are you sure?" This should be the default if the message is unknown.
layout.DELETE_SAVE - "Are you sure you want to delete this save?"
layout.OVERWRITE_SAVE - "Are you sure you want to overwrite your save?"
layout.LOADING - "Loading will lose unsaved progress.nAre you sure you want to do this?"
layout.QUIT - "Are you sure you want to quit?"
layout.MAIN_MENU - "Are you sure you want to return to the mainnmenu? This will lose unsaved progress."
layout.END_REPLAY - "Are you sure you want to end the replay?"
And im confused with this word 'Loading will lose unsaved progress'
So loading the game will make user lose unsaved data ?

Re: Need explaination on layout

Posted: Sat Jul 09, 2016 5:12 am
by andrewngn13
I believe the layouts are mostly used when you customize your save/load menus? Anyone with actual experience should correct me since I'm still a newbie at this.

The layouts are messages that pop up asking the user to confirm their decision.

The 'Loading will lose unsaved progress' is for people who are loading while on a current playthrough of the game. If they load a save file while playing, the progress they have made prior to that point is lost.

Re: Need explaination on layout

Posted: Sat Jul 09, 2016 2:48 pm
by DragoonHP
What andrew said is right. And layouts aren't used anywhere (for the most part). So you can safely ignore them.