new game/load screen

Started by , Sun 25/04/2004 03:12:54

Previous topic - Next topic

joe

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.  

Candle

  // script for room: Player enters screen (before fadein)
 SetCursorMode(7);
 GUIOff(ICONBAR);


 // script for room: Player leaves screen
SetCursorMode(0);
GUIOn(ICONBAR);  

..

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.

Ishmael

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
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

..

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.

SMF spam blocked by CleanTalk