What is the built-in save and restore dialogs?

Started by GoodGuy, Mon 20/02/2017 14:48:43

Previous topic - Next topic

GoodGuy

I found this in Help.
QuoteNormalFont property
(Formerly known as global function SetNormalFont, which is now obsolete)

static FontType Game.NormalFont

Gets/sets the font used for all in-game text, except speech. The font number must be a valid number from the Fonts pane of the editor.
More specifically, AGS uses the Normal Font for the following:

Display
DisplayTopBar
dialog options text
the built-in save and restore dialogs
The Normal Font is font 0 by default.

Example:

Game.NormalFont = eFontSpecial;

will change the normal font to the font "Special".

Snarky

They are menus that show up when you call SaveGameDialog(); and RestoreGameDialog();. They provide a simple UI to save and restore games, so that you don't have to make your own.

There's also QuitGame(1); which shows a "Do you really want to quit? Yes/No" message box.


SMF spam blocked by CleanTalk