Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 25/04/2004 03:12:54

Title: new game/load screen
Post by: on Sun 25/04/2004 03:12:54
i made a newgame/load screen - now i found alot by seraching forums on save/load guis..but not exactly what i want.  i made my newgame/load screen as a 'room', and it is only viewed as the first room.  However my iconbar which i made always visible for my normal game screens shows up and user has all curser options.  I want it limited to only pointer curser..and no iconbar.  how do i do it?  thankyou in advance.  
Title: Re:new game/load screen
Post by: Candle on Sun 25/04/2004 04:24:27
  // script for room: Player enters screen (before fadein)
 SetCursorMode(7);
 GUIOff(ICONBAR);


 // script for room: Player leaves screen
SetCursorMode(0);
GUIOn(ICONBAR);  
Title: Re:new game/load screen
Post by: .. on Sun 25/04/2004 10:42:17
If you want to make your Save Load GUI Just a room this isn't possible.

You can either

Make a GUI at your game resolution so it looks full screen.

Make the background of the screen a Room and where the save/loading takes place a GUI. So then in the room script for this you'd have
For Player Enters Screen (Before Fadein)
GUIon(LoadGUI);
And make sure in the GUI Editor the X and y positions are correct.
Title: Re:new game/load screen
Post by: Ishmael on Sun 25/04/2004 12:39:18
Candle's way works just fine. Also, if you have the right mouse button mode cycling, you can go around it by adding to the on_mouse_click function:

} else { // <-- this already is there, the last condition
Ã, Ã, if (character[GetPlayerCharacter()].room =! ROOM) // add this line, replace ROOM with the menu room number
Ã, Ã, Ã, Ã, SetNextCursorMode(); // this line already is there
} // this is already there too
Title: Re:new game/load screen
Post by: .. on Sun 25/04/2004 14:23:44
Sorry I got confused with what you were asking

You meant a screen where you clikc on new game and it starts etc..

I thought you wanted to make a room where you could save/load..

Apoligies.