Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 12/07/2003 08:45:23

Title: Main Menu
Post by: on Sat 12/07/2003 08:45:23
How do I put a main menu at the start of my game with Start
Load
Quit

On it?
Title: Re:Main Menu
Post by: Scummbuddy on Sat 12/07/2003 08:53:34
I would suggest you save a room as intro.crm  and then on that page, have the buttons with assigned actions.  when you have that done, tell us what kind of style you are looking for like an original concept for your load screen, or of a well known gaming company style.
any info you can give us would be great
Title: Re:Main Menu
Post by: on Sat 12/07/2003 09:28:36
How do I make a button load a game using script?
Title: Re:Main Menu
Post by: on Sat 12/07/2003 10:47:49
Ok forget the first question can someone just tell me how to make it quit the game with script and the same with loading games?
Title: Re:Main Menu
Post by: Jimi on Sat 12/07/2003 12:19:25
QuitGame(0);

or QuitGame(1);

One of those asks if you are sure that you want to quit. I'm not sure which, so you'll have to read the manual.
Title: Re:Main Menu
Post by: TerranRich on Sat 12/07/2003 14:16:04
Okay, here goes. Make a room with three button graphics (not button OBJEECTS) on it, labeled Start, Load, and Quit.

In AGS, load up the room image, then create three hotspots, one over each "button". In the first hotspot, choose its "player clicks on hotspot" interaction and have it load up Room #1. Have the second one use RestoreGame(...) and the third QuitGame(...). Look both of those up in the manual. :)