Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 16/10/2004 18:51:31

Title: World map
Post by: on Sat 16/10/2004 18:51:31
I have searched the forum for this but I did not find anything useful.How could I create a map where player can click the place where he wants to go?(I need also to know how to add and remove things from the map.) or an a question box where the place is asked like in Fatman.
Title: Re: World map
Post by: BorisZ on Sat 16/10/2004 18:57:34
You can do it on two ways, at least:
a) Create room who's background will be map, and then use object and put code for going to new room on it's any click action.
b) Create screen size GUI with similar properties, only with button instead of object.
Title: Re: World map
Post by: Goot on Sat 16/10/2004 20:02:10
I think objects are better because it's easier to turn them on and off. You can make variables for whether or not the player can go to certain places. On before fadin, on that room, have it turn objects on/off depending on the variables.
Title: Re: World map
Post by: TerranRich on Sun 17/10/2004 03:09:49
The best way is to create a separate room, with objects as map locations. As for the variables, global variables would help lots. Use one for each location, and the contents of the variable can be "1" for on and "0" for off. I will add this to the BFAQ.