ID:1287911
 
(See the best response by Jittai.)
Code:
world
hub = "TTCGames.Horus"
name = "Horus"
view = 10


This is the most popular client view, but I need a 15x20 screen view, and I can't put it, anyone know how to make a "wide screen" view for the map ????

Best response
Use "text" instead of numbers. This is literally listed in the DM reference, lol.


view var (client)

Default value:

world.view (which is 5 by default)

Possible values:
-1 to 34 or "WIDTHxHEIGHT"


This controls the size of the map window in Dream Seeker. Normally, you would simply compile with world/view assigned to whatever you want, but in some cases, you might want to customize the map size for different players, such as admins or subscribed users.

Like all other view sizes in DM, this may either be a view depth or an absolute size. A view depth is a single number that determines how far from a center point the edges of a square viewable region extend. A value of 5 creates edges which are 2*5+1 = 11 tiles long.

The newer, more flexible syntax is a text string of the form "WIDTHxHEIGHT". For example, a view depth of 5 corresponds to "11x11". Using this syntax, you can create non-square views as well.

The maximum view size is about 5000 tiles, or roughly 70x70.


I need a non-square screen, but I try to put view=20x15 and this have generated an error, how can I make a non-square, what the code ? the normal is view = 10 for 21x21, but i need a non-squared
Use text instead of a number.
thaaanks ;) I'm from brazil and it's hard to understand all libs haha