Modify Save slots

Started by fiaschetta, Mon 07/01/2008 15:09:01

Previous topic - Next topic

fiaschetta

How can I modify the window of the  save slots  or load slots, and the windows of quit slot ??

bicilotti

I found the easiest method to modify the overall look & feel of the save/load/quit windows is the Pablo SAVE/LOAD module.

Candall

Well, aside from that module that bicilotti mentioned, the standard way is to use a custom GUI with controls to handle all of the functions that such windows need.

Then, you'll need to go to your "on key press" area of the global script and set about changing all of the code so that it makes your GUI visible instead of calling the default windows.

fiaschetta

The module of pablo dont work..

I have modified the first gui..
Pratically, in my game i press F6 and show the GUI with the options of Save, Load and Quit... When i click, for example, SAVE, go out that orrible grey's window..
I want only modify the color and the font of this window..


bicilotti

Open your Save/load/Exit gui, select the Save button (e.g.): the bottom right cell should display something like "Save_click". That's the name of the function which will handle the interaction. If there is nothing here type in something.

Then, in the global script, add something like that:

Code: ags

// SAVE GUI

function Save_Click(GUIControl *control, MouseButton button)
	{
		SaveLoad.OpenSaveGUI();
	}


Repeat these steps for the other two buttons and you got your shiny customized GUI.

P.S.: it seems from your nickname you're italian. If it is so PM, so I can give you better help in our mother tongue

fiaschetta

Quote from: bicilotti on Tue 08/01/2008 06:52:38
Open your Save/load/Exit gui, select the Save button (e.g.): the bottom right cell should display something like "Save_click". That's the name of the function which will handle the interaction. If there is nothing here type in something.

Then, in the global script, add something like that:

Code: ags

// SAVE GUI

function Save_Click(GUIControl *control, MouseButton button)
	{
		SaveLoad.OpenSaveGUI();
	}


Repeat these steps for the other two buttons and you got your shiny customized GUI.

P.S.: it seems from your nickname you're italian. If it is so PM, so I can give you better help in our mother tongue


Work! Thanks..

SMF spam blocked by CleanTalk