Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: CocodaMonkey on Mon 14/03/2005 00:37:32

Title: Disabling the menu bar and picking start room
Post by: CocodaMonkey on Mon 14/03/2005 00:37:32
I'm just trying to add a menu to my game but I can't figure out how to pick what screen to start on. By default it starts on room1. Of course I've already used room1 since I started with real rooms. My menu is room 300, I figured I'd beable to set it by editing function game_start() but I can't actually find anywheres to edit that function from.

Also, since this is a menu, I'd like to disable the menu bar at the top of the screen. I can make it so the character doesn't show already but the menu bar just won't go away.

Thanks for any help you can offer.
Title: Re: Disabling the menu bar and picking start room
Post by: Candle on Mon 14/03/2005 00:49:48
If you look where your main char is  you will see what room box to put the room number in for him or her to start in .

Example:

GUIOff(2);

will turn GUI 2 off .

Example:

GUIOn(2);

will turn GUI 2 on.
NOTE: This function used to be called InterfaceOn but has now been renamed to avoid confusion.

Title: Re: Disabling the menu bar and picking start room
Post by: CocodaMonkey on Mon 14/03/2005 02:38:02
Thank you Candle, that is exactly what I was looking for.
Title: Re: Disabling the menu bar and picking start room
Post by: Candle on Mon 14/03/2005 03:13:28
Your welcome . Glad I could help .