ID:1658006
 
(See the best response by Super Saiyan X.)
Is it possible to fill the map on a user's screen, removing all black borders around it? And do this also when they are resizing? That is, without having to set fixed supported resolutions such as 1280x720.



You can see a black strip on the top. Not only that, this happens sometimes...



When trying to resize it, it apparently bugs up and some of the previous icon that was there becomes nasty leftovers. I don't like it.
Best response
letterbox map param? set it to false?
It's already off.

Edit: Stretching to view solves the issue. However, icons look disgusting in certain situations (they blend together):



Is there any way to avoid that? I'm not much of an artist myself. I just quickly made this for testing purposes.

Original File: http://files.byondhome.com/Xirre/BYOND.mp4
You can grab the player's resolution and then set their view to it but people with huge monitors would not be happy lol.
Problem solved. Works on all resolutions and doesn't stretch icons nor does it make them look disgusting like the example above.

A) Stop stretching icons on the map
B) Set your map's pixels to your world.icon_size
C) Set the view to [round(window_x / world.icon_size)+1]x[round(window_y / world.icon_size)+1]
D) Enjoy no black borders.