World map

Started by , Sat 16/10/2004 18:51:31

Previous topic - Next topic

Tuntis

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.

BorisZ

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.

Goot

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.

TerranRich

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.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk