ID:139880
 
Code:
map_format=ISOMETRIC_MAP
icon_size=64
view="16x9"


Problem description:
Ok so in the process of converting my game to isometric and when I do my map view gets all messed up. So made the icon size 64 and decreased my view to adjust for it like above. But when i run it the screen is very small and doesnt stretch to fill the entire map window.


I have stretch icons to fit map selected on the interface but cant seem to figure out why its not fitting, if i change the client view to 48x27 it will fit but then everything is real tiny
I believe the issue you're having is that your map's icon-size parameter isn't set correctly. With the new ability to change the default icon size used by the world, that should correspond to the width of the icon for 1:1 zoom, or 0 to fit the map control. If you used world.icon_size=64, then the map's icon-size parameter should also be 64 to show the icons at their normal size.

One other thing to bear in mind with isometric mode is that world.view or client.view describes the minimum number of map tiles you want to see on your map, but not the size of the actual viewport. Per the formula here, with view="16x9" you should expect a viewport of roughly 13×7, the y component depending on your standard icon height. The viewport size for 16x9 is the same as for 13x12.

Lummox JR
In response to Lummox JR
ok, so i have it set up so i see the amount of tiles i want, but is there a way to make that amount fill the entire map control. So to stretch the tiles like it does normally without isometric. Or am I stuck with the size it gives me
In response to NightJumper88
Yes, if the map's icon-size parameter is set to 0, the map will stretch to fit the control.

Lummox JR
In response to Lummox JR
Ok so I went to the interface and selected stretch icons to fit map and tried it and didnt do anything, then tried to put in 0 manually and that didnt do anything either. I took out icon_size=64 for the world var to work with just the normal 32 and it is bigger but doesnt fit still, guess ill have to do the math to see what i have to make the map to make it fit
In response to Lummox JR
Ok thanks for the help, i found my problem and forgot that i had manually set the icon size for the map in a setup code that kept reverting it back to 32. its working fine now.