Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: monkeyislandfan#1 on Tue 26/07/2011 19:38:22

Title: Help with hiding 9-verb gui for making a main menu
Post by: monkeyislandfan#1 on Tue 26/07/2011 19:38:22
 ??? I am attempting a Monkey Island FanGame (Yes I have AGS 3.2) with the built in 9-verb GUI. I can not for the life of me figure out how to hide the GUI to make a main menu. Also, I can not figure out how to use hotspots or objects to change from room to room, though I could not put it in the title of my topic. Please help! This is very confusing for me.

monkeyislandfan#1
Title: Re: Help with hiding 9-verb gui for making a main menu
Post by: Khris on Tue 26/07/2011 19:52:32
In the menu room's "before fadein" event you'd put something along the lines of

  gMaingui.Visible = false;

To go to the next room, use

  player.ChangeRoom(2, 20, 160);  // coordinates: x: 20, y: 160

These are really basic questions, please read the AGS helpfile thoroughly before asking those and do the tutorial to get a basic grip of AGS, then go back to the 9-verb GUI.
The 9-verb GUI also has lots of extra functions which are explained in the included PDF.
Title: Re: Help with hiding 9-verb gui for making a main menu
Post by: monkeyislandfan#1 on Tue 26/07/2011 20:09:46
Thanks. But I read through the entire help file and couldn't find it, also, I didn't get a PDF file with it.
Title: Re: Help with hiding 9-verb gui for making a main menu
Post by: monkeyislandfan#1 on Tue 26/07/2011 20:12:29
It was built in to the AGS I got.

Also, I did the tutorial.
Title: Re: Help with hiding 9-verb gui for making a main menu
Post by: Khris on Wed 27/07/2011 00:23:24
Quote from: monkeyislandfan#1 on Tue 26/07/2011 20:09:46
Thanks. But I read through the entire help file and couldn't find it, also, I didn't get a PDF file with it.
Seems like you skipped this (http://www.adventuregamestudio.co.uk/manual/GUI.Visible.htm) and this (http://www.adventuregamestudio.co.uk/manual/Character.ChangeRoom.htm).

The pdf is extracted into the game directory together with all the other files after you start a new 9verb game.
It is called 9Verbs.pdf.

In there it is explained how to create interactions; they differ from the standard way that's explained in the manual in the sense that you create&link one function for all actions and check for the active verb in there.

Also, I know you're eager to get started on your own Monkey Island fangame, but I'd really recommend not to immediately start off with the 9-verb template. Get to know AGS first.