When I play around with the world view it effects hud objects and smaller resolutions aren't able to see certain things.
How do I go about making everything auto fit no matter what the resolution is.
Jul 5 2020, 1:31 pm
|
|
Use values relative to the client's map element size.
|
In response to GreatPirateEra
|
|
GreatPirateEra wrote:
Use values relative to the client's map element size. Could you provide a quick example of rudamentary code showing how this would be done. I am having a similar problem. |
You can use the special keywords like NORTH and SOUTH, or TOP and BOTTOM, in the screen_loc var to position objects relative to the map control.
Are you sure you want to give players a different view size though? Might be better to keep it constant and only allow the window to be resized... Anyway, the reference on screen_loc has sections about these keywords and how to use them with offsets:
|